Have you ever seen that cartoon with the Coyote and the Road Runner? The Coyote is always setting traps, dropping rocks, rigging explosives to catch the Road Runner.
But what always happens? The rock falls on the Coyote's own head! The explosive blows up in his own hand! And the Road Runner, who never hurt anyone, runs off free and happy: beep-beep!
The Bible says life works the same way. Whoever tries to do harm to others (the wicked) ends up getting hurt by their own harm. But whoever is honest and kind (the righteous), God protects and rescues from the mess.