Romans 8:28 (NIV)
28And we know that in all things God works for the good of those who love him, who have been called according to his purpose.
Ephesians 1:11-12 (NIV)
11In him we were also chosen, having been predestined according to the plan of him who works out everything in conformity with the purpose of his will,
12in order that we, who were the first to hope in Christ, might be for the praise of his glory.
