Proverbs 24:9 in the King James Version
The thought of foolishness is sin: and the scorner is an abomination to men.
Context
8 One who plots to do evil will be called a schemer.
9 The schemes of folly are sin. The mocker is detested by men.
10 If you falter in the time of trouble, your strength is small.