Guarding your heart (your mind, your attitude, your inner life and relationship to God) is the same as keeping your heart pure. It is when you make sure that no temptations in the form of impure or sinful thoughts are allowed to enter your heart, but are nipped in the bud while they are just a thought. It is a state of watchfulness against any evil influences in your spiritual life. (Proverbs 4:23)