Hadrat Anas ibn Malik (r.a.) said: ‘I heard the Messenger of Allah (saws) saying, “Allah, the Exalted, has said: `O son of Adam! I shall go on forgiving you so long as you pray to Me and aspire for My forgiveness, whatever may be your sins. O son of Adam! I do not care even if your sins should pile up to the sky and should you beg pardon of Me, I would forgive you. O son of Adam! If you come to Me with an earth full of sins and meet Me, not associating anything with Me in worship, I will certainly grant you as much pardon as will fill the earth.“
Related by At-Tirmidhi.

Commentary:
Regardless of the quality or the quantity of the sins one might have committed in one’s past, if one turns to Allah Subhanah and seeks sincere forgiveness; it is expected that they will find their Lord Forgiving and Merciful. Regardless of whether the sins one might have accumulated are major or minor, regardless of whether the sins one might have accumulated are so much that if piled up they would reach the heavens…..if one turns in ‘taubah’ unto their Lord and seeks sincere forgiveness before they meet with their appointment of death, The Lord Most Merciful will envelop such a repentant believer in His Forgiveness and Mercy.

If one were to die in a state whereby one did not seek repentance for their sins, and the sins were so many that they would fill the whole earth…provided one did not associate anything in worship with the Lord Most Majestic Most High (ie. did not commit the abomination of ‘shirk’), their Lord Most Gracious will grant them with as much pardon as will fill the whole earth! Such is the magnitude of the vastness of the Lord Most Merciful Who Created!