Air strikes to prevent chemical weapons and massive weapons stockpiles from falling into the hands of jihadis is fine.
Trying to build Syria into a real nation is a waste of blood, money, and time.
You are correct we can’t ignore all of the players on the board. The Afghanistan withdrawal armed the Taliban.
The IDF is doing the same. Blowing up stuff that the Syrian army had to make sure some crazy terrorist does not get a hold of them.