If you’re in charge of a war and you’re intentionally targeting civilians, you’re a bad guy.
Note that I said “a bad guy”, not “the bad guy”. In some wars, the leaders of both sides are bad guys; although the civilians who happen to live in a war-torn country are not responsible for the actions of their government. Civilians of any country are never the bad guys!