Mat 5:8 Blessed are the pure in heart, for they shall see God.
At face value, this verse disqualifies everyone in light of Jer 17:9 “The heart is deceitful above all things, and it is exceedingly corrupt:…” (ASV) and Rom 3:10-12 “10…None is righteous, no, not one; 11 no one understands; no one seeks for God. 12 …; no one does good, not even one.”
Let me address this beatitude from a different angle with the man Job in mind. God called Job blames (perfect by KJV) and upright (Job 1:1, 8), that is to say Job had an excellent spirit (not a perfect sinless heart). He was blames because of his reverence for God, sincere intentions, hearty and diligence to perform all his duties to God and men. This excellent spirit is noticed even in his response to suffering. Rather than curse or accuse God, he trusts God to refine him (Job 23:10) and in Him he hopes (Job 13:15).
The pure in heart believes God is working all things together for good and therefore faces each season with an excellent spirit (rejoicing evermore, praying without ceasing and in all things giving thanks, 1Th 5:16-18). God secures and reveals Himself to such for their comfort, and assurance of His bigger plans in the midst of it all. And with a pure heart even in suffering, we as Job shall see God, Job 42:5 “I have heard of You by the hearing of the ear, But NOW MY EYES SEE YOU”