And, if the psalms are any indication, David didn't see the Law that way. Which tells me that he kept the Law out of love for God, not out of trying to be saved by his own efforts. As someone who sinned, he understood grace and forgiveness.
Alot of my Christian contemporaries would be surprised to know grace and forgiveness existed in the OT as well. :-)