To be fair, using artillery against massed infantry and vehicles (and even small to medium groups of them) are what's been winning wars since even the Napoleonic era. People don't realize this due to war movies focusing on small unit action more than anything else for the drama, but most of war is artillery barrages and airstrikes, and most people die from those and machine gun fire or grenades / mortars.
We see this in the modern era, in WW1, WW2, and even Ukraine right now, with Drones being a form of lighter, guided artillery.