You will have heard people say when something bad happens, “Why did God allow it”.
I want you know that God did not allow it. Humans allowed it, and we must not blame God.
When God created the earth, he gave authority over it to the people he had created. When they submitted to the tempter, they surrender their authority to the spiritual powers of evil. This means that bad spiritual powers have authority to work evil on earth. So when something bad happens, they are usually responsible.
So instead of asking why God allowed it, we should ask why humans allowed the spiritual powers of evil to have their authority. We do not like that question, because we already know the answer. Humans are stupid. So it is just as well that we have a glorious saviour and redeemer.