Jeremiah 9:23-24, AMP
"Thus says the Lord: Let not the wise and skillful person glory and boast in his wisdom and skill; let not the mighty and powerful person glory and boast in his strength and power; let not the person who is rich [in physical gratification and earthly wealth] glory and boast in his [temporal satisfactions and earthly] riches; But let him who glories glory in this: that he understands and knows Me [personally and practically, directly discerning and recognizing My character], that I am the Lord, Who practices loving-kindness, judgment, and righteousness in the earth, for in these things I delight, says the Lord."
1 Corinthians 1:31, AMP
"So then, as it is written, Let him who boasts and proudly rejoices and glories, boast and proudly rejoice and glory in the Lord."
2 Corinthians 10:17, AMP
"However, let him who boasts and glories boast and glory in the Lord."
2 Corinthians 10 - Matthew Henry's Concise Commentary on the Bible seeks the glory of God, and to be approved of Him.
"If we would compare ourselves with others who excel us, this would be a good method to keep us humble. The apostle fixes a good rule for his conduct; namely, not to boast of things without his measure, which was the measure God had distributed to him. There is not a more fruitful source of error, than to judge of persons and opinions by our own prejudices. How common is it for persons to judge of their own religious character, by the opinions and maxims of the world around them! But how different is the rule of God's word! And of all flattery, self-flattery is the worst. Therefore, instead of praising ourselves, we should strive to approve ourselves to God. In a word, let us glory in the Lord our salvation, and in all other things only as evidences of his love, or means of promoting his glory. Instead of praising ourselves, or seeking the praise of men, let us desire that honour which cometh from God only."
About this commentary:
Matthew Henry's Concise Commentary on the Bible is available in the Public Domain.