Both sides had a lot to gain from the war.
Especially the politicians, businesses, and military leaders. Combat soldiers and civilians at home had a lot to lose. Governments on both sides tried to “sell” the war to civilians. There were plenty of messages about people’s love for their country. There were also messages that made people fear and hate the enemy.