As Afghanistan fell to the Taliban, Islamist groups waging insurgencies in Africa were quick to celebrate. "God is great," a…