OK the Taliban and IS read from the same book, literally.
Theocratic driven authoritarianism, my way or the highway and a decided prejudice against women's' rights are the common thread.
So one interest is more parochial the other more bent on Caliphate; neither hold out much hope for anyone who comes under their purview/heel and who disagrees with them.