Joshua, a leader of God's people in ancient times,
exhorted his countrymen:
" Choose for yourself today whom you will serve
As for me and my household, we shall serve Jehovah."
{ Joshua 24:15 }

Similarly,
God's prophet Jeremiah said:
" Obey, please , the voice of Jehovah in what I am speaking to you, and it will go well with you, and your soul will continue to live."
{ Jeremiah 38:20 }

Would a just and loveing God encourage people to do right in the hope of a reward if he knew that they were destined to fail !
No,
Such encouragement would be hypocritical.

So when good or bad things happen in your life,
it is not because theses events are inevitable
Very often, ' Unforseen occurances '
are simply the consequences of other people's decisions
weither wise or unwise
{ Ecclesisates 9:11 }

No , your future is not planned out before you,
and your decisions determine what your everlasting future will be