God allows bad things o happen to make us strong and m make our faith strong in Him, closer to Him because when we don’t encounter bad things in our lives we felt that everything we do is right.
He allows those things to get us a lesson in life so that when we encounter that again we already know how to win that battle.
To know that He is always on our side no matter what happens or what we’ve been through.