Having a pure heart means that you do not agree with any sinful or impure thoughts that come up in you, but rather you deny these thoughts and put them to death. It means that you are not affected or tainted by sin on the inside. (Psalm 51:10); Matthew 5:8; Proverbs 4:23)