Proverbs 18:12-13

12 Before destruction the heart of man is proud,  But before honor is humility.

13 He who gives answer before he hears,  That is folly and shame to him.