Allah forgives the sins of those who believe but punishes those who do not 48:5-7
48:5 (From His Wisdom) He admits the believers, both men and women, into Gardens underneath which rivers flow, there to live forever, and acquit them of their sins that with Allah is a mighty triumph
48:6 and that He might punish the hypocrites and the idolaters, both men and women, and those who think evil thoughts of Allah. An evil turn (of fortune) will befall them. The Wrath of Allah is on them, and He has cursed them and prepared for them Gehenna (Hell), an evil arrival!