When the Bible uses the term heart, it means the causal core of your personhood. The heart is your directional system. The heart is your steering wheel. Your behavior isn't caused by the situations and relationships outside of you. This passage teaches that your experiences influence, but do not determine, your behavior. Your behavior is shaped and caused by how your heart reacts to and interacts with the situations and relationships that are outside of you.
— John Piper