This Psalm is so powerful in its implication. Oozing out of the soul the Psalmist is that the people of God and the generation to come would remember all that God has done.
Sin and complacency comes down to poor daily habits which then allow the lusts of the world to overtake ones thoughts and purpose. The solution is to spend time with God and his Spiritual Word daily.