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

Psalms 26:6

I will wash mine hands in innocency: so will I compass thine altar, O Lord:

Read in other translations