Isn't terrorism typically carried out against civilians and non-combatants? Surely not all violence is terrorism or it ceases to have any meaning.
If Al Qaeda had toppled the government and institutes the global caliphate, then they wouldn’t be terrorists.
Frequently military or government workers are the target.