Every person was created by God in a perfect state of grace. However, we were also in a perfect state of ignorance. Our job is to experience His knowledge, and learn the true meaning of truth, love, justice, etc. To do so is the most important task set before us all. To complicate things, God gave us free will in our actions, we can actually choose between doing good or not.