Is advocating for unnecessary wars in order to increase profits immoral?

I'm talking about wars like Iraq which was started based on lies or wars like Afghanistan which was prolonged for 20 years in order to ensure US defense industry profits in the US. Or wars like Gaza which was started for the same reason and continues even now.

I realize that under capitalism almost nothing is immoral, but this particular practice is pernicious in my opinion and has gotten completely out of control.
Is advocating for unnecessary wars in order to increase profits immoral?
Post Opinion