A fool's mouth lashes out with pride, but the lips of the wise protect them. (NIV)
In the fool's own mouth is a rod [to shame] his pride, but the wise men's lips preserve them. (AMP)
In the mouth of the foolish is a rod of pride: but the lips of the wise shall preserve them. (KJV)