Okay, I'm going to start over now that I have ample time to give you a full answer.
So let's start with the common question: "Why does God let bad things happen?"
Now let's break this up into three parts, according to what exactly you may be trying to ask.
1. Why doesn't God smite people for doing bad things?
2. Why doesn't God prevent the sinner from committing his sin?
3. Why doesn't God remove evil from the world?
Before I start, remember that there is no sin that is greater than the other. Every sin is of equal magnitude in God's eyes. One man might lie and one man might commit murder and the next, rape. God does not look at the liar and think, "He only lied, he can go to heaven. The others will go to hell." Unlike us, where we see these sins as of different importance, God sees them as completely equal, because he created them as equal sins. Now, there is debate about the Unforgivable Sin, but we can get to that sometime later after we finish this discussion first.
1. Why doesn't God smite people for doing bad things?
Okay, so let's put this into the scenario where a woman murders a guy. God strikes her down in prison with a heart attack. According to his Word, since all sin is equal, he will also have the man, who lied to his boss about being sick, get into a car accident on his way to the movies. You must understand that God doesn't look at the world in the way we do. He doesn't see the murderer as more deserving of punishment than the man who lied.
Second, if God just killed anyone committing a sin, we would all be dead. Everyone.
Third, let's say God just killed people who committed a terrible sin (such as murder or rape). No one would ever commit those sins again out of fear of death (they might not know the death came from God though). But consider this, God is about forgiveness and unconditional love. He loves us all the same, but he despises our sin. No matter what we do, he will always love us. We, are his children. So why would he deny one child's chance to beg for forgiveness by killed him after his sin? This goes completely against what he stands for and the way he wants us to live.
If I ever had the misfortune to be raped, or murdered, I would forgive the man or woman who did it (I would forgive the murderer from heaven). Just as I would forgive those who have lied to me in an equal manner. This is what it means to be a Christian, one that follows God's Word.
Why doesn't God prevent the sinner from committing his sin?
This will be broken into two parts, one being the “yesterday” and one being the far past.
In the sense of the “yesterday” let’s say I was going home from work in a large city. I decide to turn down an alley as a shortcut, but someone jumped me and I was raped. So why doesn’t God prevent me from turning down that dark alley?
What kind of free will is that? God gives me the freedom to make my own choice, which means I also have the choice to follow him or not. I also have the choice to head down that alley, and that rapist had the choice to attack me. With free will comes those who want to abuse it. God does not control what we do. His Word might influence us, but he will never force us to do anything. You currently have the choice to continue debating this, you could leave, or you could change the topic. A teenager has the choice to lie to his mother about how school is going, tell her the truth, or ignore it. The murderer has the choice to leave his intended victim alone, commit the crime and run, or turn himself in afterwards.
God did not create robots. Robots have algorithms, patterns they must follow and rules they must absolutely abide by with no say in the matter. You would not be able to debate with me if God wanted to control us. I would not have started this thread if everyone followed God’s rules. We have choices, and God gave us the free will to make those choices.
You say you would enjoy your free will to remove child rapists? That’s what people try to do. That’s why the law exists; to preserve our natural rights as human beings. You have a choice to become a policewoman to help catch these child rapists, or to raise awareness to defeat the problem. That random stranger has the choice to become that rapist. No one can consider themselves above another, no matter how many sins you’ve committed in comparison to the other. If God is to stop that person from committing their sin, he should stop you as well. But he isn’t, is he? Consider how many times you’ve lied. God allows you to do such. I’ve lied so many times, it’s not remotely funny, but honestly, I’m average with the “normal” person. I have that choice to continue lying. I’ll try my best not to, but I will in the future. This is the free will He gave me. If God wanted perfect robots, he would create perfect robots that are there to continuously serve and praise him.
Now for the “far” past.
And I will restate, that all sins are equal in God’s eyes, but I will only use the sins we consider of greater magnitude such as rape or murder.
So let’s say God prevents that child, who grows up to be the child rapist I used earlier, from having a bad childhood that formed him into that sinner. Or He shielded the child from the bad influences that caused the child to become the rapist. Now you have this approximately perfect world. But once again, he will only be able to do so by controlling this child or controlling those who made him the way he is. I will refer to my earlier statements about how important free will is for us. We are given the choice to use it for good or for evil. Most of us will use it for good, but some of us will choose to be evil. And we can try to stop it, but evil will be rampant despite our best efforts.
Why doesn't God remove evil from the world?
Simple. He would have created a perfect world with robots (in the metaphorical sense) instead of humans. We wouldn’t be discussing this problem right now.
And those countries He smote? They were overrun with sin. God gave them a chance to ask for forgiveness and safety from the destruction He was to bring upon them, but they rejected or ignored Him and thus, brought their own destruction.