I wonder if the Apostle Paul was thinking about this Old Testament passage in Jeremiah 9:23-24 when he talked about boasting in the Lord (2 Corinthians 11:30):
This is what the LORD says: “Let not the wise man boast of his wisdom or the strong man boast of his strength or the rich man boast of his riches, but let him who boasts boast about this: that he understands and knows me, that I am the LORD, who exercises kindness, justice and righteousness on earth, for in these I delight,” declares the LORD.
Would that we all could boast about that!