No one but the God who created your heart in the first place could purify it.
Psalms 51:10 Create in me a clean heart, O God; and renew a right spirit within me.
Acts 15:7 And when there had been much disputing, Peter rose up, and said unto them, Men and brethren, ye know how that a good while ago God made choice among us, that the Gentiles by my mouth should hear the word of the gospel, and believe. 8 And God, which knoweth the hearts, bare them witness, giving them the Holy Ghost, even as he did unto us; 9 And put no difference between us and them, purifying their hearts by faith.
Ezekiel 36:26 A new heart also will I give you, and a new spirit will I put within you: and I will take away the stony heart out of your flesh, and I will give you an heart of flesh.
Ezekiel 11:19 And I will give them one heart, and I will put a new spirit within you; and I will take the stony heart out of their flesh, and will give them an heart of flesh:
Jeremiah 17:9 The heart is deceitful above all things, and desperately wicked: who can know it?
Matthew 5:8 Blessed are the pure in heart: for they shall see God. 12:34 O generation of vipers, how can ye, being evil, speak good things? for out of the abundance of the heart the mouth speaketh. 35 A good man out of the good treasure of the heart bringeth forth good things: and an evil man out of the evil treasure bringeth forth evil things. 15:18 But those things which proceed out of the mouth come forth from the heart; and they defile the man. 19 For out of the heart proceed evil thoughts, murders, adulteries, fornications, thefts, false witness, blasphemies:
A good man is one whose Heart has been purified by God.
2 Timothy 2:22 Flee also youthful lusts: but follow righteousness, faith, charity, peace, with them that call on the Lord out of a pure heart.