There are other charters and agreements in other organisations by member countries to ensure human rights etc. So as a country and globally, human lives will not go back to the savagery, nasty, short, brutish as Thomas Hobbes described in his book state of nature.
Most of the agreements reached are detrimental to some countries and the human rights aspect of the agreement is not being regarded by if not all, the majority of the partaking countries.
To this extent of the UN, charters, conventions and agreements, it is not that there are no agreements but what is happening is selective following of whatever was agreed upon depending on which country is affected and looking at who are their aligns. To a greater extent, there is high level politicking to follow protocol and to abandon it.