These “evildoers” didn’t necessarily plan this trap for someone else, it’s just that they talked themselves into a trap. They created their own trap, apparently because they just wouldn’t stop talking!
Being “righteous” in thoughts and attitudes suggests a couple of things. First, they probably don’t create a bunch of problems for themselves.
And, secondly, when “trouble” does come — from elsewhere — both their “innocent/righteous” thinking and their “righteous” God keeps them from getting all caught up. That spells “escape” every time!