Others (there are who) have acknowledged their wrong-doings: they have mixed an act that was good with another that was evil. Perhaps Allah will turn unto them (in Mercy): for Allah is Oft-Forgiving, Most Merciful.
The Prophet said, “Last night two (angels) came to me (in my dreams) and took me to a town built with gold and silver bricks. We met two men there, and one half of their bodies resembled the most handsome human beings you ever could see, but their other halves were of the most hideous human beings you ever could see. The two (angels) told those men, ‘Go and submerge yourselves in that river.’ So they submerged themselves in it. When they returned to us their hideousness disappeared, and they were in the most pleasing condition. The (angels) said (to me), ‘The first garden (over there) is the Garden of Eden, and that’s your dwelling place.’ Then they said, ‘As for those men who were half ugly and half handsome, they were those who mixed good deeds with bad deeds, but God forgave them.’” (Bukhari)
Emerick, Yahiya. The Meaning of the Holy Qur’an in Today’s English (p. 829). Unknown. Kindle Edition.