These aren't devout Muslims fighting for various religious causes, they're nothing but motley groups of lawless thugs who primarily resort to kidnapping and hostage taking in exchange for money and power.
We will never be able to wipe them out entirely. When too much pressure is put on one particular group, it seems they just disband and their members scatter back to their various tribes and clans. Then once they feel it's safe to re-surface, they morph into some newly-named Muslim terrorist group no one has heard of before.
Trying to wipe them out is like playing a Middle Eastern version of jihadi whack-a-mole