Your first paragraph is correct, your second is a non sequitur. Islam isn't trying to defeat anything, it's a religion some of whose claimed adherents are trying to defeat democracy. The ISIS leadership has very clear political goals, the rank and file is a collection of nutcases who are not at all representative of most Muslims or even of Islam.