Actually one cannot earn the gift, that is what the Bible clearly teaches.
Receiving the gift freely is also what Scripture teaches.
Try again
What do you think the verses below are saying? Observe in them the "I will make", "I will put", "will I write", etc. Do they sound to you like a recipient must "receive" anything since God has declared that He, Himself, will place those directly into them, and that He (completely by His own accord) will remember their sins no more?
It is ALL by God. Man cannot do anything to either cause it or to assist with it, we are fully and entirely at His mercy.
If not that, then explain what you perceive the role of THE Savior to be.
[Heb 10:16-17 KJV]
16 This [is] the covenant that I will make with them after those days, saith the Lord, I will put my laws into their hearts, and in their minds will I write them;
17 And their sins and iniquities will I remember no more.
