If the wizard is 17th level or higher, the wizard, assuming they are sufficiently optimized. In every edition of D&D I know, a wizard that can cast 9th level spells will win against anything short of a god, another similarly optimized wizard, or a couple other classes.
If below 17th level, well, maybe. Depends on how optimized they are for this specific challenge, their gear budget, what edition they’re built in, and what spells they know.
If the wizard is 17th level or higher, the wizard, assuming they are sufficiently optimized. In every edition of D&D I know, a wizard that can cast 9th level spells will win against anything short of a god, another similarly optimized wizard, or a couple other classes.
If below 17th level, well, maybe. Depends on how optimized they are for this specific challenge, their gear budget, what edition they’re built in, and what spells they know.