It's of course again a little more complex: Religion and culture are intertwined. Islam had a period where science was very advanced while Europe was in the dark ages. Then it changed as the people in power wanted a regressive literal doctrine (unfortunately every religion can be used and abused for anything) and now the moderate and scientific Islam is losing ground against a regressive Islam in some parts of the world as it's a handy tool to twist people into fighting other people's fights (Saudi Arabia).
It's of course again a little more complex: Religion and culture are intertwined. Islam had a period where science was very advanced while Europe was in the dark ages. Then it changed as the people in power wanted a regressive literal doctrine (unfortunately every religion can be used and abused for anything) and now the moderate and scientific Islam is losing ground against a regressive Islam in some parts of the world as it's a handy tool to twist people into fighting other people's fights (Saudi Arabia).