Here the word "heart" represents the thoughts and desires. The idiom "fix his heart" means to determine to do something. Alternate translation: "he was not committed to seeking Yahweh" (See: [[rc://en/ta/man/translate/figs-metonymy]] and [[rc://en/ta/man/translate/figs-idiom]])
Worshiping Yahweh is spoken of as if the person were seeking Yahweh. Alternate translation: "to worship Yahweh" (See: [[rc://en/ta/man/translate/figs-metaphor]])