Ben Sira 19:5

5 Whoso taketh pleasure in wickedness shall be condemned: but he that resisteth pleasures crowneth his life.

Ben Sira 19:5 In-Context

3 Moths and worms shall have him to heritage, and a bold man shall be taken away.
4 He that is hasty to give credit is lightminded; and he that sinneth shall offend against his own soul.
5 Whoso taketh pleasure in wickedness shall be condemned: but he that resisteth pleasures crowneth his life.
6 He that can rule his tongue shall live without strife; and he that hateth babbling shall have less evil.
7 Rehearse not unto another that which is told unto thee, and thou shalt fare never the worse.
The King James Version is in the public domain.