The source is Psalm 26:6 -- "I will wash my hands in innocence, and go about thy altar, O Lord, singing a song of thanksgiving."