This represents the whole person turning away from and rejecting God's law. AT: "turns away from hearing and obeying the law" (See: [[rc://en/ta/man/translate/figs-synecdoche]])
"even his prayer is offensive to God." This can be written in active form. AT: "God detests even his prayer" (See: [[rc://en/ta/man/translate/figs-activepassive]])