Proverbs 29:24 in the King James Version
Whoso is partner with a thief hateth his own soul: he heareth cursing, and bewrayeth it not.
Context
23 A man’s pride brings him low, but one of lowly spirit gains honor.
24 Whoever is an accomplice of a thief is an enemy of his own soul. He takes an oath, but dares not testify.
25 The fear of man proves to be a snare, but whoever puts his trust in the LORD is kept safe.