No, YOU are not getting the point(s).
Firstly, I am not saying morals and ethics should not apply to states; I am saying morals and ethics do not apply to states. Big difference.
Then that makes the relevance of groups such as UN even more questionable. Why do they exist? Remember, one of their major function is to decide the legality of a war. If states do not have such morals and ethics, why such things exist?
Secondly, those international entities have NEVER prosecuted STATES because they CANNOT, by definition. Can you name any example where anything other than individual/individuals has/have been tried? These entities serve useful international geopolitical purposes, pure and simple.
No, they can't be tried the way individuals are tried. That's irrelevant though. You can still put sanctions against a state, justify a war against a state, as long as a set of rules are being satisfied. You can declare another state to be a terrorist state. How is Iran being treated any less than a criminal on a death row?
Thirdly, one man's terrorist is another man's freedom fighter; it all depends on whose definition holds sway when backed up by resources of the supporting parties. That may not seem fair to you, but that is just the way it is, sorry.
So again, then, there's nothing wrong with supporting such groups I suppose.