In general fighting in someone else's country should be in and out as fast as possible
whatever your motives the locals will grow to resent you and you NEVER really understand their culture
Vietnam was avoidable and why we stayed in Afghanistan after kicking the Taleban out of Kabul is beyond any reason