Does going to heaven remove man's propensity to sin?

I'm just curious about this because I was taught man's expulsion from Eden was an act of mercy from God. Because Eden not only contained the tree of knowledge but also the tree of life. We could've lived forever in the garden but after we ate of the tree of knowledge we now had knowledge of sin. So God removed us from the garden because he did not want us to have eternity with sin.

This suggests that when we go to heaven we leave sin behind. Well, how do you think that happens? Do you think God wipes away all previous knowledge? Because otherwise how do we become a sinless being? God created us with free will and it's in man's nature to sin.

Does going to heaven remove man's propensity to sin?
Post Opinion