There is on-going debate whether God is ultimately good because if He is, then evil would not exist in the world. However, if we read the Scriptures, we can see that from the beginning everything God created was good, as mentioned in Genesis.

Evil came along when some of God’s creations, angels and mankind, chose to do the wrong thing, and do evil. So we see that evil did not come from God, but is the product of volition or the ability to choose.

God, in His creation, did not want to create robots that do not think. And so He gave angels and human beings to power to decide. Unfortunately, a third of the angels, and the entire mankind chose evil. This is why God sent forth His Son to save man.