Worth mentioning that Tolkien was a devout Catholic and the idea you are talking about is something Catholic theologians would probably agree with.
(I’m not a Christian though so somebody please correct me if I am wrong)
Re:Discworld Rules
by weard_beard on Sunday March 09, 2025 @04:52PM
(#43313667)
The work is mysterious and important.
(-Severence, the motto of the business/cult enslaving people on the show)
> No theme may be played that hath not its uttermost source in me, nor can any alter the music in my despite. For he that attempteth this shall prove but mine instrument in the devising of things more wonderful, which he himself hath not imagined.
The idea being that the evil that Melkor commits ultimately just builds towards the creators greater and secret purpose. It's kind of an attempt to deal with the "problem of evil".