God has a purpose with everything that happens, good or bad and he does have a plan for each of us
11 For I know the plans I have for you,” declares the Lord, “plans to prosper you and not to harm you, plans to give you hope and a future.
but his will for us does not come to pass automatically because his adversary satan too has his agenda which is opposed to Gods will for man
10 The thief comes only to steal and kill and destroy; I have come that they may have life, and have it to the full.
8 Be alert and of sober mind. Your enemy the devil prowls around like a roaring lion looking for someone to devour.
30 I will not say much more to you, for the prince of this world is coming. He has no hold over me,
but he has power over us, as explained here, and brings sickness and disease and trials and temptations against us.
God has given us free will, the power to choose between good and evil. But satan teaches that the power to choose is an illusion, because he is the spirit of deception.
44 You belong to your father, the devil, and you want to carry out your father’s desires. He was a murderer from the beginning, not holding to the truth, for there is no truth in him. When he lies, he speaks his native language, for he is a liar and the father of lies.
Gods plan for us is revealed in
12 Therefore, I urge you, brothers and sisters, in view of God’s mercy, to offer your bodies as a living sacrifice, holy and pleasing to God—this is your true and proper worship. 2 Do not conform to the pattern of this world, but be transformed by the renewing of your mind. Then you will be able to test and approve what God’s will is—his good, pleasing and perfect will.
Ultimately we may choose life by being led by his Holy Spirit or choose death.
19 This day I call the heavens and the earth as witnesses against you that I have set before you life and death, blessings and curses. Now choose life, so that you and your children may live
Planet Earth is the battle field where the kingdom of heaven is at war with the kingdom of this world.
8 For he that soweth to his flesh shall of the flesh reap corruption; but he that soweth to the Spirit shall of the Spirit reap life everlasting.