None is necessarily good but God: He is as necessarily good as He is necessarily God. [“Necessarily” means that His goodness inevitably results from His nature – He can act no other way]. His goodness is as inseparable from His nature as His holiness. He can no more act contrary to this goodness in any of His actions than He can un-God himself.
It was not necessary that God create a world. It was His own choice whether He should create or not, but when He resolved to make a world, it was necessary that He should make it good because He is goodness itself and cannot act against his own nature. He could not create anything without goodness in it.
From the book “Boundlessly Good”