Proverbs 29:6

A snare will entangle the iniquitous when he sins. And the just shall praise and be glad

Other versions

King James Version

In the transgression of an evil man there is a snare: but the righteous doth sing and rejoice.

English Standard Version

An evil man is ensnared in his transgression, but a righteous man sings and rejoices.

New International Version

An evil man is snared by his own sin, but a righteous one can sing and be glad.