Proverbs 21:16 in the King James Version
The man that wandereth out of the way of understanding shall remain in the congregation of the dead.
Context
15 It is joy to the righteous to do justice; but it is a destruction to the workers of iniquity.
16 The man who wanders out of the way of understanding shall rest in the assembly of the departed spirits.
17 He who loves pleasure will be a poor man. He who loves wine and oil won’t be rich.