Proverbs 11:21 (ESV)

21 Be assured, an evil person will not go unpunished, but the offspring of the righteous will be delivered.

It is a certainty that an evil person will not go unpunished because of their sin. The sin of an evil person must be dealt with because it is an offence to God. The evil person will not escape the judgment of God, but the righteous and their offspring will be delivered. The righteous will not experience being punished by the wrath of God.