If Christendom's clergy would teach what the Bible really says you would know this answer and would never ask it! People ask all the time, "why does bad things happen to good people?" The clergy has people believing what happens to them is being done by God, they ignore this scripture! (1 John 5:19) We know that we originate with God, but the whole world is lying in the power of the wicked one.
When things go wrong and something bad happens they tell you to pray, nothing wrong with that it's what they tell you when your prayers do not work! They say you must have done something really bad for this to happen, you didn't pray hard enough, or you didn't give enough to the church! They are full of it because they are part of what Satan the wicked one controlls! The scriptures tell us "Time and unforeseen circumstances befall us all"!
The scriptures speak of a better time when all maters will be set straight, This will happen during Christ thousand reign after Armageddon! This is the Good news being preached about now! (Matt 24:14;2 Tim 4:2)
The Bible has an outline on what is going to happen, this outline is under God's direction and everyone that knows it by getting factual truths recored in the Bible know that man is responsible for our condition here on earth, Adam chose to believe Satan over God so when Adam sinned all his decendants are under sin! Gen 3:15 the first prophecy recored says God will put enmity between the true congregation(symbolized as God's wife-the women) and Satan(the great dragon) Satan's offspring would be wounded in the head, it's a death blow! It happened when Christ died, (Jesus founded the Christian belief, his followers are called the bride class) Jesus was only bruised in the heel, he was resurrected on the 3rd day!
Everything that has happened to you will be set right when God's Kingdom ruled by Christ comes (Dan 2:44), death and the grave will be done away with (Rev 20:14) All tears and all bad things will no longer be (Rev 21:3-4)
Christendom's fals clergy will be no more but until that happens we need to learn as much as we can (John 17:3) so that we will be among those that come out of the great tribulation (Armageddon) (Rev 7:9,14) 9 After this I saw, and look! a great crowd, which no man was able to number, out of all nations and tribes and peoples and tongues, standing before the throne and before the Lamb, dressed in white robes; and there were palm branches in their hands. 14 So right away I said to him: “My lord, you are the one who knows.” And he said to me: “These are the ones who come out of the great tribulation, and they have washed their robes and made them white in the blood of the Lamb.