God has a plan for your life. A plan that takes into account all of the choices you make. Some choices for good, and some for evil. But God knew them from creation, and uses your choices to accomplish his purpose for your life. God is sovereign, and his purpose for his creation, and each of us, will be accomplished. Yet at the same time he gives us the freedom to make our own choices, and to live with the consequences of those choices.
I keep asking that the God of our Lord Jesus Christ, the glorious Father, may give you the Spirit of wisdom and revelation, so that you may know him better. I pray that the eyes of your heart may be enlightened in order that you may know the hope to which he has called you, the riches of his glorious inheritance in his holy people, and his incomparably great power for us who believe. - Ephesians 1:17-19 NIV
All Scripture is God-breathed and is useful for teaching, rebuking, correcting and training in righteousness, so that the servant of God may be thoroughly equipped for every good work. - 2 Timothy 3:16-17 NIV