Proper Boasting

This is what the Lord says:

The wise must not boast in his wisdom;
the mighty must not boast in his might;
the rich must not boast in his riches.
But the one who boasts should boast in this,
that he understands and knows Me—
that I am the Lord, showing faithful love,
justice, and righteousness on the earth,
for I delight in these things.
                                          This is the Lord’s declaration.
(Jeremiah 9:23,24 Holman Christian Standard Bible®)