The abstract noun "purposes" can be translated using the verb "intends." The heart is a synecdoche for the whole person. Alternate translation: "what he intends to do" (See: [[rc://en/ta/man/jit/figs-abstractnouns]] and [[rc://en/ta/man/jit/figs-synecdoche]])