Why is Islam being constantly attacked?

Here's a few reasons:

The sex industry is estimated to be worth at least $235 Billion worldwide. This includes pornography, prostitution, and others.

The illegal drug industry is estimated to be around $650 billion.

The alcoholic beverage market is estimated to be worth $1.7 trillion.

The net interest income in the banking sector worldwide is approximately $9 trillion.

If Islam is properly applied, all these industries would vanish. The elites would lose what is worth way over $12 Trillion.

When they say Islam is a 'dangerous' ideology, it's because it stops people from falling into all these distractions and rather focus on themselves, their families, and their growth and knowledge.

Islam has always been attacked and it will continue to be attacked.

The prophet ﷺ said:
"Islam began as something strange and will go back to being strange, so glad tidings to the strangers."

- Sahih Muslim 145

Get used to it, don't victimize yourself, and instead, work on your own betterment.