Avoiding doing what is evil is spoken of as if it were avoiding walking on paths that are evil. AT: "I have avoided doing what is evil" (See: [[rc://en/ta/man/translate/figs-metaphor]])
Continuing to obey God's righteous decrees is spoken of as if the writer has not physically turned away from the righteous decrees. This can be stated in positive form. AT: "I always obey your righteous decrees" (See: [[rc://en/ta/man/translate/figs-metaphor]] and [[rc://en/ta/man/translate/figs-litotes]])