Avatar was about the basic story of the American West only based on another planet. We have to face the fact that there were lots of treaties that were broken by our government back then, that is for sure.
I wouldn’t call Babylon 5, Stargate or Battlestar Galactica anti-military or socialist.
And we may as well also face the fact that the Indians were not Utopian lovers of peace and the environment.