Israel determined after about two years into the Syrian civil war after they first backed Militias that became ISIS to counter Hezbollah that it was a mistake and withdrew support
Unlike McCain who continued to support anyone who opposed Assad including ISIS fronts
In hindsight anyone can see Assad bad enougj was preferable
Trump understands sometimes bad guys are better than what comes after
Libya anaother example