Thus says the LORD:
“Let not the wise man glory in his wisdom,
Let not the mighty man glory in his might,
Nor let the rich man glory in his riches;
But let him who glories glory in this,
That he understands and knows Me,
That I am the LORD, exercising lovingkindness, judgment, and righteousness in the earth.
For in these I delight,” says the LORD.

Jeremiah 9:23-24

For you see your calling, brethren, that not many wise according to the flesh, not many mighty, not many noble, are called. But God has chosen the foolish things of the world to put to shame the wise, and God has chosen the weak things of the world to put to shame the things which are mighty; and the base things of the world and the things which are despised God has chosen, and the things which are not, to bring to nothing the things that are, that no flesh should glory in His presence. But of Him you are in Christ Jesus, who became for us wisdom from God—and righteousness and sanctification and redemption— that, as it is written, “He who glories, let him glory in the LORD.”

1 Corinthians 1:27-31