Pure in heart
Here’s what it means
Inwardly sincere, morally clean, and undivided toward God.
Why the Bible says it this way
The phrase concerns the center of the person, not merely outward ritual cleanliness.
An idiom is a familiar phrase whose meaning comes from the whole expression, not from reading each word by itself.