It is my understanding that Muslims believe when they die they will be judged by God: their good deeds versus their bad deeds and if their good outweighs their bad they will be with God in paradise. I take that from this passage:
7:8,9 And the weighing [of deeds] that Day will be the truth. So those whose scales are heavy - it is they who will be the successful. And those whose scales are light - they are the ones who will lose themselves for what injustice they were doing toward Our verses.
I'm wondering...what objective way is there to know if your good deeds outweigh your bad deeds? Especially considering that God is weighing the deeds we do in hearts and thoughts as well. How can one control their own thoughts even if they are good on the outside?
4:107,108 And do not argue on behalf of those who deceive themselves. Indeed, Allah loves not one who is a habitually sinful deceiver. They conceal [their evil intentions and deeds] from the people, but they cannot conceal [them] from Allah , and He is with them [in His knowledge] when they spend the night in such as He does not accept of speech. And ever is Allah , of what they do, encompassing.