Here the word "hearts" represents the thoughts and desires. The idiom "set their hearts" means to determine to do something. AT: "those who had determined to seek Yahweh" (See: [[rc://en/ta/man/translate/figs-metonymy]] and [[rc://en/ta/man/translate/figs-idiom]])