Proverbs 29:6

An evil man is caught by his own sin, but a righteous one sings and rejoices.
BSB · Berean Standard Bible
In the transgression of an evil man there is a snare: but the righteous doth sing and rejoice.
KJV · King James Version
An evil man is snared by his sin, but the righteous can sing and be glad.
WEB · World English Bible
In the transgression of an evil man there is a snare; But the righteous doth sing and rejoice.
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

the transgression
Proverbs 5:22; Proverbs 11:5, 6; Proverbs 12:13; Job 18:7–10; Psalm 11:6; Isaiah 8:14, 15; 2 Timothy 2:26
but
Psalm 97:11; Psalm 118:15; Psalm 132:16; Romans 5:2, 3; James 1:2; 1 Peter 1:8; 1 John 1:4