1Peter1:6-7: 'Though now for a little while you may have had to suffer grief in all kinds of trials. These have come so that the proven genuineness of your faith – of greater worth than gold, which perishes even though refined by fire – may result in praise, glory and honour when Jesus Christ is revealed'
God created humans with free will or the ability to make their own choices. This was necessary otherwise the earth would be full of humans who behave as God wanted but they would have no autonomy. However, as humans are morally imperfect, they sometimes use free will to choose evil causing suffering.
It is argued that God believed that it is better to allow freedom and the terrible consequences than to take away freedom and have humans no better than programmed robots.
God is NOT responsible for the existence of evil and did not create it. God is totally good and at each stage of creation, God saw that what he created was 'good'
The Fall as outlined in Genesis 3 is the perfect example of how everything God created was 'good' yet how human abuse of free will leads to sin and its consequences