Old Testament readings use the Septuagint , the Scripture the apostles quoted. Masoretic numbering shown for reference.Learn why
LXX

Psalms 9:24

Because the sinner praises himself for the desires of his heart; and the unjust one blesses himself.

Read in other translations