The doctrine of the trinity: the goodness of God