Here the "heart" refers to a person's will and desire. Alternate translation: "with all his will" or "with complete commitment" (See: [[rc://en/ta/man/jit/figs-metonymy]])
The eyes represent seeing, and seeing represents thoughts or judgment. Alternate translation: "what I judged to be right" or "what I considered to be right" (See: [[rc://en/ta/man/jit/figs-metaphor]])