Happy are the pure for they shall see God.purity here am talking about is for the mind,heart and body.when you are pure in mind ,you think positively about everything in life,meditate about God's goodness always,recall memories of what God has ever done for you.
Then purity of the heart doesnt have jelousy,envy, anger,hatred,bitterness.our hearts are God's habitations so keep him in our hearts ,we must getrid of all this. Then body can stay pure by avoiding fornication.
Worshipping God in truth and in spirit equals to your heart.
https://www.google.com/url?sa=t&source=web&rct=j&url=https://thriveglobal.com/stories/the-purity-of-heart/&ved=2ahUKEwjWh9itsInrAhUpURUIHRnnDt0QFjACegQIDhAI&usg=AOvVaw1vn18OyxKz_qgvl-ZFfpnJ