Here "heart" refers to a person's thoughts or emotions. This phrase is a way of saying the people are not truly devoted to God. Alternate translation: "but they do not really love me" (See: [[rc://en/ta/man/jit/figs-metonymy]] and [[rc://en/ta/man/jit/figs-idiom]])