because he also gave us free will and the ability to choose how we want to live our life, be good or evil. if we will be good and follow his, umm, let's say teachings, then we will be rewarded in the after-life. if we choose the evil path and fail to conquer our urges, then we will be punished...