The problem is: what exactly do you bomb? I.e. what is the battle-related purpose of this machine?
Bombing tank formations would, of course, make sense, let's say if you encounter a formation of 10-15 tanks a F-35 sortie would make sense. But then the enemy adapts and starts only using tanks in "solitary", so to speak, or at most in "pairs". Does it make economic and operational sense to fly and risk a F-35 just to destroy two tanks? I don't know.
The same goes for enemy artillery. Does it make economic sense to risk a F-35 sortie just to try and take out howitzers scattered over the entire front line? I think it doesn't, for example the Russians have been reasonably good at taking NATO-sent M777s just by using counter-artillery or Lancet suicide mini-drones (orders of magnitude cheaper than a F-35, excluding the opportunity costs of losing an airplane pilot's life).
Of course, F-35s would be best in destroying civilian infrastructure related to the enemy's war effort behind the front-lines, stuff like power transmission units, bridges, railways etc, meaning what NATO did in Serbia in 1999 and what the Allies tried to do against Germany in WW2. But, again, it's much cheaper to do it with cruise missiles (the Russians have also proved that that is doable during the current war in Ukraine), ignoring the fact that it might not work (the Germans carried out producing war stuff until the early months of 1945, despite the very heavy aerial bombings).
I think the US military has been the victim of its own success in the first Gulf War, when indeed air superiority allowed them to get the Iraqis out of Kuwait with almost no losses on the US side. But the second Gulf War proved that once the war gets more complicated (in that case when it got close to Baghdad and to populated centers) then relying on airplanes alone is not enough.