What do Wizards do?

If wizards were willing to engage in combat and throw fireballs around, that’s what all warfare would come down to. Therefore, fifth level and higher wizards are either rare, or just unwilling to come out and throw fireballs around on the battlefield. So if they’re not employed as magical artillery, what do they do for a living?Magical Advisors- Many mages work for nobility as advisors. They may also serve to cast minor spells, brewing potions, etc.Magic for hire- Wizards may run a small shop selling potions and material components to other spellcasters, casting divination spells, possibly making small magic items