There is only one way to bring an end to sin. Law – word, testimony, statutes, judgments, and commandments – are sin helpers as long as they do not say on request “I pardon you“.
The delusory saying in Psalm 119:11 is responsible for the emptiness of Jewish life and is now a convenient fig leaf for Christians.
Your word I have hidden in my heart, That I might not sin against You.
Perhaps we have not noticed that Christ, as word living in the heart, does not stop sin.