In mainstream American Christianity, obedience to God is often presented as our free choice. But in this verse the psalmist makes clear that God must act before we can act in a godly way. He must give before we can give to him. His grace comes before our obedience.
Music Credit: Johann Sebastian Bach, Trio from Brandenburg Concerto, No. 1, Movement 4