Less than 30 F-35s could defeat the Russian military force in Ukraine in a month. All of it. 

While vastly overpriced, 5th gen fighters are not a waste of money. 

They prevent exactly this kind of grinding stalemate.