'The military doesn't suck, it's a branch of the government given the task to safeguard the freedom of the citizens of the country. They only obey (legal) orders. If you think their actions suck it's the politicians you should bitch at, not the ones that, risking their lives, obey their orders.
Try to convice that to the people of Myanmar.
I speak of course of democratic countries.
But who defines what is "legal", oh wait the government
Military is just a tool of the government, so all the gov has to do before using its military is to justify their own requests as legal

International Criminal Court officials sanctioned by US
https://www.bbc.com/news/world-us-canada-54003527
No, it's not the government that makes the laws, its the parliament.
Division of power, checks and balances, remember