Jeremiah 9:23 - Thus saith the LORD, Let not the wise [man] glory in his wisdom, neither let the mighty [man] glory in his might, let not the rich [man] glory in his riches:<quoted text>
In real life, NOT taking pride in what one is and does leads to failure.
Isaiah 2:11-17 - The lofty looks of man shall be humbled, and the haughtiness of men shall be bowed down, and the LORD alone shall be exalted in that day.
2 Timothy 3:4 - Traitors, heady, highminded, lovers of pleasures more than lovers of God;
1 Corinthians 3:18 - Let no man deceive himself. If any man among you seemeth to be wise in this world, let him become a fool, that he may be wise.