In the Holy Qur'an, God teaches human beings that they were created in order to worship Him, and that the basis of all true worship is God-consciousness. Since the teachings of Islam encompass all aspects of life and ethics, God-consciousness is encouraged in all human affairs. Islam makes it clear that all human acts are acts of worship if they are done for God alone and in accordance to His Divine Law. As such, worship in Islam is not limited to religious rituals. The teachings of Islam act as a mercy and a healing for the human soul, and such qualities as humility, sincerity, patience and charity are strongly encouraged. Additionally, Islam condemns pride and self-righteousness, since Almighty God is the only judge of human righteousness. The Islamic view of the nature of man is also realistic and well-balanced. Human beings are not believed to be inherently sinful, but are seen as equally capable of both good and evil. Islam also teaches that faith and action go hand-in-hand. God has given people free-will, and the measure of one's faith is one's deeds and actions.
However, human beings have also been created weak and regularly fall into sin. This is the nature of the human being as created by God in His Wisdom, and it is not inherently "corrupt" or in need of repair. This is because the avenue of repentance is always open to all human beings, and Almighty God loves the repentant sinner more than one who does not sin at all. The true balance of an Islamic life is established by having a healthy fear of God as well as a sincere belief and hope in His infinite Mercy. A life without fear of God leads to sin and disobedience, while believing that we have sinned so much that God will not possibly forgive us only leads to despair. In light of this, Islam teaches that only the misguided despair of the Mercy of their Lord. Additionally, the Holy Qur'an and traditions/narrations of the Prophet Muhammad contain a vast amount of clear and concise teachings about the life of the hereafter and the Day of Judgement. They paint a clear picture and act as a unique blueprint about the prospective grief and torment or inconceivable pleasures and bliss of the life to come.
Hence Muslims believe that all human beings will ultimately be judged by God for their beliefs and actions in their earthly lives. In judging human beings, Almighty God will be both Merciful and Just, and people will only be judged for what they were capable of. Suffice it to say that Islam teaches that life is a test, and that all human beings will be accountable before God. A sincere belief in the life hereafter is key to leading a well-balanced life and moral. Otherwise, life is viewed as an end in itself, which causes human beings to become more selfish, materialistic and immoral.