Ecclesiastes 10:12 in the King James Version
The words of a wise man’s mouth are gracious; but the lips of a fool will swallow up himself.
Context
11 If the snake bites before it is charmed, then is there no profit for the charmer’s tongue.
12 The words of a wise man’s mouth are gracious; but a fool is swallowed by his own lips.
13 The beginning of the words of his mouth is foolishness; and the end of his talk is mischievous madness.