F-35 research, development & maintenance employ a lot of people and move science forward.
Can you point out any specific ways in which the F-35 project actually moved science forward, even indirectly?
How many JWST-scale projects could be funded with that money?
For more fun facts, JWST has employed 1200 people in the world, F-35 has produced around 250,000 jobs.
So F-35 has produced more jobs per dollar than JWST so from that perspective it is a steal