Here "heart" represents the writer's will. The phrase "heart is set" is an idiom. It is a way of saying the writer is determined. Alternate translation: "I am determined to obey" (See: [[rc://en/ta/man/jit/figs-metonymy]] and [[rc://en/ta/man/jit/figs-idiom]])