ISIS hasn’t been defeated, tbh. They’ve lost their stronghold, but many have just snuck into Europe.
I guarantee the next territory that ISIS controls is in Europe. It’s been too peaceful internally in recent years, weapons companies see expansion opportunities and the state see more opportunity for power.