Yahweh speaks of a person's actions as if the person were walking along a path. Here the word "heart" represents the mind or will. See how you translated a similar phrase in [Jeremiah 11:8](../11/08.md). AT: "stubbornly doing the wicked things that he wants to do" (See: [[rc://en/ta/man/translate/figs-metaphor]] and [[rc://en/ta/man/translate/figs-metonymy]])