The psalmist’s integrity comes from God because his disposition before God is that of a “servant” (ebed; see vv. 122, 124, 125):
124 Deal with your servant according to your love
and teach me your decrees.
125 I am your servant; give me discernment
that I may understand your statutes.
It is his to walk; it is the Lord’s to tell him where to walk. He is a servant. I doubt one should toss the barbs of synergism at the psalmist, but recognize that he knows he is responsible to obey but his obedience springs from God’s gracious teaching.
It’s not our kind of syntax but it is a Hebrew kind of syntax: “Do unto your servant according to love.” That is, to turn it into colloquial English: “Love me, treat me in a loving manner.” How about “Give me some love!” (It’s Valentine’s Day you know.)
This psalmist kind of love is one that leads to his being instructed and to discernment.
The vulnerability of the psalmist is palpable: he’s open to God, he has faced God, he wants to hear from God, and he simply requests that God teach him. He’s listening to God. He is before God as a servant.