Earlier quoted context omitted.
Your definition is not quite accurate. Some forms of violence performed to promote an ideology are called war. In fact, war is by far the most common, and the most destructive form of 'violence used to promote an ideology'.
Why do you think war is not terrorizing/terrorism?
See the US legal definition of terrorism:
premeditated, politically motivated violence perpetrated against noncombatant targets by subnational groups or clandestine agents
Title 22 Chapter 38 U.S. Code § 2656fGenerally speaking, wartime actions by one state against another don't seem to be included in this group. That being said, there's not exactly an agreed upon definition of terrorism, the best I can come up with is "acts of political violence that don't fall into the category of war"
A good place to start for more reading on the differences between the legal definitions of terrorism in different countries is here: https://en.wikipedia.org/wiki/Definition_of_terrorism#In_nat...
It's not just the US, https://en.wikipedia.org/wiki/Definition_of_terrorism