The purpose of life is to acquire knowledge, and hopefully to learn to choose good over evil. For all things that are good come from God. As the Son would teach us, it is God alone who is good.