In ayat 114 of Surat Hud of the Holy Qur'an (11:114), Allah Ta'ala says:--
"Innal Hasanati Yuzhibbas-Sayyi'at... Indeed, the good acts remove sins."
In other words, goodness takes out sins, when we say 'astaghfirullah' - this takes away our sin and for every hasanat, Allah gives you 10 and for every sin, He gives only one. And when you say 'astaghfirullah' you get 10 hasanat.
In His Generosity, Allah Ta'ala makes the heart of the sincere person to always make Istighfar... to always say 'alhamdulillah'...'Shukran-Lillah'... to regularly be reciting the 4 Phrases Allah Loves: SUBHANALLAH; WALHAMDULILLAH; WALA-ILAHA ILLALLAH; WALLAHU AKBAR.' With this, our hearts get rejuvenated and ready to receive Allah's Light and Blessings.