“Come, let us worship and bow down, Let us kneel before the Lord our Maker. Today, if you would hear His voice, do not harden your hearts, as at Meribah” (Psalm 95:6-8).
It seems the act of worship is not only a blessing, and an act of obedience, but also a preventative. While this is primarily a known Psalm of praise, and a call to worship, it is the hope of the psalmist that by so doing we might not repeat the sins of past generations. It is the heart focused on worship that best avoids the sins of an idol mind.