You sure asked a mouthful. I hope you dont mind if I answer a mouthful.
In Job's case, it wasnt because of Job's free will. In most people's case, it is because of their free will.
But as you point out, bad things can still happen to anyone. Nobody on this earth is "good". We live in a fallen world.
All men fall short of being "moral" because of their sins whether they are Christians, some other religion, or other state of non-belief.
The Christian is no better than a non-Christian, but he is infinitely better off.
While non-believers can say that they are "good" this is only because all they have to use as a measuring stick is their peers. (who are also sinful). God makes the perfect measuring stick for sin, because He is perfect.
Without God's Law, and without Jesus' sinless example, we would all be ignorant of our sins.
No one in this world will gain entrance to Heaven because of their own works. It is only through Gods gift of Grace, in the sacrifice of His son.
However, faith without works is dead, and all humans should strive to have high "morals", and follow the example Jesus Christ set for us when He was flesh.
As far as giving us free will?
Skeptics often complain that God set Adam and Eve (and us) up to fail.
However, God had to give Adam and Eve a choice. Without free will to choose, Adam and Eve would have been mere puppets.
True love always requires choice. God wanted Adam and Eve to choose to love and trust Him.
The only way to give this choice would have been to command something that was not allowed
God uses problems in our lives to test us and to help us learn from our mistakes.
“Now no chastening seems to be joyful for the present, but painful; nevertheless, afterward it yields the peaceable fruit of righteousness to those who have been trained by it” Heb. 12:11
Sometimes God does not run to our rescue because He’s told us in the Bible what we should be doing about our suffering or affliction. Instead of crying out to God, sometimes we should be studying the Scriptures to find God’s will for our lives.
When we are tempted, we should study 1Corinthians 10:13 to find God’s “way of escape.”
Finally, God does not expect us to live from “miracle to miracle” but from “faith to faith” (Romans 1:17)
When people were following Jesus looking for a miracle, He rebuked them (John 6:26). We should look daily to Jesus, and not look for daily miraculous deliverance from suffering.
WHY DOESN’T GOD JUST DESTROY SATAN ALREADY?
One of the mysteries of the Christian life is why God didn’t just destroy Satan immediately after he sinned. We know that God will one day annihilate Satan once and for all by throwing him into the Lake of Fire where he will be tortured day and night forever (Revelation 20:10), but sometimes we wonder why God has not destroyed Satan already. Perhaps we will never know God’s reasoning in this particular situation, but we do know certain things about Him.
First, we know He is absolutely sovereign over all creation, and this includes Satan, who is “on a very short leash.” Certainly, Satan and his demons wreak havoc in the world, but they are only allowed to go so far and no farther. We also know that God has planned everything from the beginning of time to the end. Nothing can thwart His plans and things are proceeding exactly on schedule. “The LORD of hosts has sworn: ‘As I have planned, so shall it be, and as I have purposed, so shall it stand’” (Isaiah 14:24).
Second, “we know that all things work together for good to those who love God, to those who are called according to His purpose” (Romans 8:28). Whatever God has planned for Satan, that plan will be the best one possible, resulting in God’s perfect wrath and justice being satisfied and His perfect righteousness being glorified. Those who love Him and who wait for His plan to be fulfilled will be thrilled to be part of that plan and will praise and glorify Him as they see it unfold.
Third, we know that calling into question God’s plan and its timing is to call into question God Himself, His judgment, His character and His very nature. It is not wise to question His right to do exactly as He pleases. The Psalmist tells us “As for God, His way is perfect” (Psalm 18:30). Whatever plan comes from the mind of the Almighty is the most perfect plan possible. It is true that we can’t expect to understand that mind perfectly, as He reminds us “For my thoughts are not your thoughts, neither are your ways my ways, says the LORD. For as the heavens are higher than the earth, so are my ways higher than your ways and my thoughts than your thoughts” (Isaiah 55:8-9). Nevertheless, our responsibility to God is to obey Him, to trust Him, and to submit to His will, whether we understand it or not. In the case of His timing for Satan’s demise, it has to be the best possible plan because it is His plan.
God bless you