Proverbs 13:19 in the King James Version
The desire accomplished is sweet to the soul: but it is abomination to fools to depart from evil.
Context
18 Poverty and shame come to him who refuses discipline, but he who heeds correction shall be honored.
19 Longing fulfilled is sweet to the soul, but fools detest turning from evil.
20 One who walks with wise men grows wise, but a companion of fools suffers harm.