Are Muslims really the problem?
Think about it. Indonesia, Egypt, Morocco, Tunisia, Kazakhstan, Turkey, Azerbaijan, Bangladesh, Lebanon, Malaysia, Singapore, Saudi Arabia... All those countries are Muslim majority. Combined, they make up 650 million Muslims. Yet, when was the last time you heard of a terrorist from one of those countries? There are none.
Terrorists come from war thorn regions, like Iraq, Syria and Libya. And it targets the agressors of such countries, like West Europeans and America.
Before America destroyed those countries, there were also almost no terrorists from them. Before, terrorists came from al-Qaeda and Taliban, which is based in Afghanistan after the Soviet Invasion of Afghanistan.
Also, countries that do not get involved in wars are not targeted. For example, Japan has always been a pacifist country since WW2, so it's no surprise it was never the target of terrorism.
Do you think it is just a coincidence that only war thorn countries produce terrorism? Is it really a surprise that when you attack a nation, people from that nation retaliate?
Think about it.