Why did God let Satan take everything from Job?

In the book of Job, Satan wanted to see if those who loved God would be faithful to Him even if He took everything from them. God knew that Job was faithful, He knew Job’s heart and how he felt about God. God wanted to show Satan that people aren’t just faithful because of physical objects and that Job wouldn’t curse His name. So, God allowed Satan to take anything from Job, and Satan did. Satan took Job’s animals, his servants, his children. He took everything Job loved, and still, Job loved and trusted God.
Although, Job questioned God a lot! Job never lost faith, and even though some might say that Job did curse God I don’t think he did. If we were in Job’s position, I think we would all do more than just be upset with God. Job had an exceptional amount of faith in God. Job did ask a lot of questions, and he was upset at the situation, not God. Job didn’t take the things he had for granted, whatever God gave him was because he loved him. Job knew that God still loved him because God doesn’t give up on us and we all need to remember that.
God will never leave you so don’t leave Him. Whatever happens in life is for a reason and God has a plan for everyone. Sometimes we forget that. We think that God doesn’t love us anymore, but if you trust in God, you will know and never forget that He will never leave. We just have to stay with Him and see the end result. God gave so much to us. We won’t even come close to giving Him what He gave us, but we need to try to get close. If God dedicated His life to saving the evil world we live in, why aren’t we trying harder to help Him? We need to save the people around us from going down the wrong path. We all need to be as faithful as Job, or try to be. Job is a wonderful example of how Christians should be. Obviously, he wasn’t perfect, but none of us are. So, if there’s one thing I learned from Job it’s how to trust God and be faithful to Him, because we don’t know what God’s plan is but “Where God guides, He provides.” I’m sure you’ve seen a movie where everything looks like it’s going to end horribly and then it somehow comes together. That’s how God works. You might not see the rainbow yet, but it’s always after a storm.