>You deny them spell components.
Eschew materials or just buy a damn component pouch.
>Lure them into dangerous and close range terrain like jungles.
There are tons of spells that allows a mage to avoid terrain entirely (Flight, Teleport, etc.).
>Put pungi traps and underground mazes everywhere.
Divination hard counters that and spells like stone to mud or shape earth will seal off those tunnels indefinately.
>Only fight in ambushes.
Again, divination wizards
>Poison their food and water supplies.
Tons of spells that either creates fresh food or water or purifies it.
>Attack their supply lines.
Teleport
>Or get mighty allies like dragons, demons and stuff. And sacrifice any captured spellcasters to those allies.
Why in the world would dragons, demons, etc. want to ally themselves with you?
Not to mention, I'm pretty sure that there are spellcasters that can take those types of creatures as patrons anyways.
>Basically be fantasy Vietcong. Only more successfull and with less deaths to diseases, infections, worms and animals.
Yet if you poison water supplies and food, the only ones who will die are the mundanes who don't have access to magic.
Whoo-you're pretty bad at this.