Kind of unfair example, the Israelis had a lot of time to prepare for that battle. On top of that the Syrians knew they didn't stand a chance given their resources.
Given any situation you have to fit the resource to meet the need. The United States deploys the EMB 314 Super Tucano to great effect, which is a WW2 style fighter fitted with modern electronics. The F35 in the modern context simply doesn't make sense, as it's simply over engineered and doesn't fit current individual needs.