God is just, and for Him to exercise His justice, Islam holds the principle of accountability. People who do good will be rewarded, and those who do bad things will be punished accordingly. Therefore, He created Paradise and Hell, which a person enters under certain conditions. Muslims know that the current life is only of short duration and that another follows it. This life is a test, and if we pass this test, we will be granted an eternal life of bliss in the company of righteous people in Paradise.