If you say in your heart, ‘Why have these things happened to me?’ Because of the magnitude of your iniquity Your skirts have been removed And your heels have been exposed. Jeremiah 13:22
A lot of bad things happen to people because of SIN, The iniquities of mankind. Sin has consequences, and there usually all bad consequences. SIN has a chain reaction also, when someone commits a SIN it usually effects other people also.
For example, a drunk driver crashes into a family killing them. Why did this happen to the innocent family? Because of the sins of the drunken person. SIN is selfishness, SIN is self-gratifying and usually destructive. When you SIN , your not only effecting your own life but also the other people in your path
The law of the LORD is perfect, restoring the soul; The testimony of the LORD is sure, making wise the simple. Psalm 19:7
This is why God has a Moral Law. Its not because God wants to control people or tell them what to do. Its actually the opposite, God is trying to steer us in the right direction. God wants us to live a long and fruitful life, this will not happen when you live in SIN.
Yes bad things happen to good people, usually if you trace back the origins of the evil, it typically started with someones SIN
For the wages of sin is death, but the free gift of God is eternal life in Christ Jesus our Lord. Romans 6:23
This is why God sent us a Savior, this is why we need Jesus Christ. Humanity is not capable of saving themselves. Turn away from Sin and Accept Jesus as your Lord Amen!