This psalm forms a chiastic structure:
1A: Psa 26:1-3, Walked in integrity + vindicate, examine + trust + foot shall not slip + lovingkindness and truth;
1B: Psa 26:4-5, Not gone with the wicked;
1C: Psa 26:6, The LORD’s altar;
CENTRAL AXIS: Psa 26:7, “That I may proclaim with the voice of thanksgiving, and tell of all Your wondrous works!”
2C: Psa 26:8, The LORD’s house;
2B: Psa 26:9-10, Do not count me with the wicked;
2A: Psa 26:11-12, Walked in integrity + redeem + mercy + even footing + bless the LORD.
The central axis, around which God placed flashing neon lights, is the wondrous works of the LORD, that we proclaim aloud with thanksgiving!
Notice also, that in the 1A-2A pair, examine our hearts is paired with redeem us. You know, after we are examined, our need for redemption comes to light! In the same pair, our trust in the LORD is paired with His mercy to us. The Scriptures have always taught consistently from Genesis to Revelation, that our trust in Him and His mercy toward us walk hand in hand!
In the same pair, keeping His lovingkindness and truth before our eyes, is paired with our blessing the LORD in the congregation. If we think we don’t have anything to thank the LORD for, it is because we have not kept our eyes on His lovingkindness and truth, which is poured out to us every day!