Proverbs 18:13

Whoever responds before he listens, demonstrates himself to be foolish and deserving of confusion

Other versions

King James Version

He that answereth a matter before he heareth it, it is folly and shame unto him.

English Standard Version

If one gives an answer before he hears, it is his folly and shame.

New International Version

He who answers before listening- that is his folly and his shame.