Some theists have argued that God's infinite and unsurpassable goodness makes it impossible for him to improve the world by creating good things. Tim O'Connor (summarizing Johnston
2019) puts the point like so:
[Improvement] to
reality is impossible for an unsurpassably good being. Whether we think
of the value of such a being as measured by an infinite cardinality greater
than that measuring any other possible reality or as beyond (even
infinite) measure altogether (as Cantor himself supposed), its act of
creating a lesser reality would be like adding a point to a line... it
is no addition at all. (2022, 235)
Plausibly, this line of thinking also implies that "nothing can make God
worse off" (Johnston 2019, 149). After all, if God's infinite value makes it impossible for reality as a whole to be impersonally better or worse, then presumably the same considerations would imply that things cannot go better or worse for an infinitely blessed being.
Now, either the aforementioned line of thinking is correct, or it is not. If it is, then we can justify God's creative act by appealing to the ex-ante Pareto principle: by creating, God makes himself no worse off (since nothing can make him worse off), and he benefits those he creates. So any world in which God creates and gives his creatures on-balance good lives will Pareto dominate the world in which God refrains from creating. On the plausible assumption that a perfect agent always acts in accordance with ex-ante Pareto (perhaps with exceptions involving deontic constraints, which do not apply in the present case), we get a perfectly good explanation for why God would create.
(This might need some finessing in order to bring it into line with the First Vatican Council's decree that God did not create by necessity: he could have created nothing.)
On the other hand, suppose the earlier-discussed line of thinking is false, and God's infinite value does not make it impossible for things to be better or worse. In that case, we can explain God's creative act in the conventional way, i.e. by appealing to God's desire to improve the world by creating good things.
The upshot is that whether or not God improves reality by creating, we can give a plausible account of why he would create.
Of course, this leaves open the crucial question: does God improve the world by creating? I am inclined to think that he does. Tim Mawson gives a useful example to show that a world containing infinite value can still be improved:
[Consider] a range of logically possible worlds, each containing a creation composed of a single
angel enjoying the beatific vision. The first is a world in which the angel everlastingly enjoys the
beatific vision at a given level of hedonic intensity, which we call level one; call this world ‘God
Plus Angel in Beatific Bliss Level 1’ and say its ‘n-number’ is 1. The second is a world in which
the angel enjoys the beatific vision at double that level, ‘God Plus Angel in Beatific Bliss Level
2’, n-number 2. The third is a world in which the angel enjoys it at three times the level enjoyed
in God Plus Angel in Beatific Bliss Level 1. And so on. So, in this range of worlds, if we suppose... that each such creation
has already existed for an infinite amount of time, then each creation has infinite beatific bliss in
it (and ex hypothesi no disvalues). Nevertheless, clearly there is a sense in which higher numbered worlds are better than lower – there can be a ranking. (Mawson 2023)
Here's another example which illustrates the same point. Consider two possible worlds, n and m. World n consists of God plus a single angel enjoying the beatific vision. World m consists of God plus a single demon suffering horrifically in an eternal hell. Now, if Johnston is correct that God's infinite value prevents us from making better/worse comparisons among possible worlds, then we would have to say that world n is no better than world m, since both contain God's unsurpassably infinite value. But that's absurd: clearly world n is better than world m.
Note too that even on the assumption that God's infinite value does not prevent us from making better/worse comparisons, we can still plausibly appeal to the Pareto principle to justify God's creative act: after all, if God can be made worse off by our suffering, then presumably he can be made better off by our joys. So God's well-being might actually be greater in a world with happy creatures than in a world without them. (My thanks to Matthew Adelstein for pointing this out to me; see also Stenberg 2019.) It's also possible that even if the world can be made better or worse by God's creative act, God himself cannot be made better or worse off, in virtue of divine impassibility. So even if we reject Johnston's line of thinking, we can still potentially appeal to the Pareto principle in justifying God's creative act.
Here's a possible reason (due again to Matthew Adelstein) for thinking that God can be made better or worse off: Christianity teaches that God the Son became incarnate and was crucified for our sins. Now, it seems intuitively obvious that crucifixion makes the one who suffers it worse off; otherwise, why does Christ seem so eager to avoid it (Matthew 26:39, Mark 14:36, Luke 22:42)? But if Johnston's view is correct, then it seems we must say that God the Son is not made worse off in any way by his crucifixion: after all, he has infinite wellbeing, and surely the suffering of crucifixion is only finite. This conclusion may not be heretical (Christianity requires us to believe that God incarnate suffered, but not that he experienced a reduction in overall wellbeing), but it is certainly strange.