# Direct my heart toward
This is an idiom. The "heart" here refers to the will, desires, and choices that directs one's life. Alternate translation: "Make me want" (See: [[rc://en/ta/man/jit/figs-idiom]])
# your covenant decrees
"to obey your covenant decrees." This is referring to obeying the law of Moses.
# unrighteous gain
"the desire for riches." This is referring to wealth gained by illegal methods or wrongdoing towards others.