Lack heart
Here’s what it means
To lack good sense, judgment, or moral understanding.
Why the Bible says it this way
Because the heart was a center of thinking, a person without heart is not emotionless but foolish.
An idiom is a familiar phrase whose meaning comes from the whole expression, not from reading each word by itself.