Guard the heart
Here’s what it means
To protect one's thoughts, desires, and moral direction.
Why the Bible says it this way
Proverbs treats the heart as the source from which the course of life flows.
The writer uses a picture to explain one thing by describing it as another.