Smedley Butler solved this issue back in the 1920's, change the vote from Congress to eligible draftees to solve us going to war for stupid reasons.
Then during times of war, lock down every individual's income and ability to earn money to that of the soldier. Keeping war profiteering from stretching wars on indefinitely.
It's radical, but would probably keep us from just "being at war" eternally. A reality we have had to live in since at least 9/11.