This can be stated in active form. Alternate translation: "I will curse any person who trusts in mankind" (See: [[rc://en/ta/man/jit/figs-activepassive]])
Here the word "heart" refers to the thoughts and emotions. Alternate translation: "turns his devotion away from Yahweh" (See: [[rc://en/ta/man/jit/figs-metonymy]])