“But as for you, son of man, your people who talk about you by the walls and in the doorways of the houses say one to another, every one to his brother, ‘Come now and hear what the message is that comes from the Lord.’ They come to you as people come, and they sit before you as My people, and they hear your words, but they do not practice them; for with their mouth they express loving devotion, but their heart goes after their (unlawful) gain. Behold, you are to them like a love song by one who has a pleasant voice and plays well on a stringed instrument [merely to entertain them]; for they hear your words but do not practice them. So when it comes to pass—as it most certainly will—then they will know [without any doubt] that a prophet has been among them.” – Ezekiel 33:30-33
To keep the heart, necessarily supposes an earlier work of regeneration, which has set the heart right, by giving it a new spiritual inclination, for as long as the heart it not set right by grace in habitual frame, no means can keep it right with God. Self is the poise of the unrenewed heart, which biases and moves it in all its designs and actions; and as long as it is so, it is impossible that any external means should keep it with God.
But what about spiritual matters? The things that concern our inner man are far more important and eternally consequential than the material goods we might be able to protect. Out of all the areas in life that force us to take “security measures”, the Bible presents our effort to protect our heart as the most important of all. If you effectively protect your car from theft, your home from burglary, your property from damage, your financial interests from failure, and your body from personal illness and injury, and even our borders from terrorist attacks – and yet fail in protecting this one, all-important thing as the Bible warns us – that singular failure will effect all other areas of life. The plain fact is that more personal ruin and eternal loss has been caused by a failure to protect this one thing than all failures to protect material matters combined. And yet, hardly anyone gives a single thought to “keeping the heart”. – Precept Austin
Proverbs chapter one ends when Wisdom, who is the instructor and teacher throughout the whole, is introduced as calling upon the simple and the scorners to leave their sins and turn to her, with a promise of the Spirit to them, but they slighting and rejecting her call, are threatened with just and irrevocable ruin and destruction.
Then Proverbs chapter two continues and defines knowledge as going beyond cognition; it is often used metonymically (cause) for obedience (effect); e.g., Prov 3:6, “in all your ways acknowledge Him.” This means that the disciple will follow God’s moral code; for to know God is to react ethically and spiritually to His will.