Society is smaller structure of a nation build by local leaders within the given frame of boundaries. Every good society is built by people or leaders with good intention and future lifestyle, a good society is a developed or developing society with equity's of human conscience and reason. When you mention good society there are foundations and structures that adherents it background like good roads, culture, schools, bole holes and drainages, churches and mosque, skills acquisition and empowerment. All this things is good when the small government within the society is good, and it is the smaller structure of societies that form nations and countries. When you see a failed society such society is filled up with failed leaders and government at the local level.
To recognized failed societies is simple everything is contrary to what I mention above, no hospital, no education, no good structures, no good government and no good living.
Such societies,successful ones I only know from the Nordic places like Denmark,Sweden,Norway and Finland which truly incorporate this philosophy,I am not saying that other places in Europe or the USA which also strive and suffer to bring people the same good society you are describing here but the level of the Nordic countries surpass any other country and no I am not from there at all.
For a failed society I would call a society who is built on violence and killings going to invade other countries,corruption and treating different class of people differently where the rich are treated differently compared to the poor and everywhere you see there is corruption from the lowest instance to the greatest one,I will not name that country here but I believe anyone has already understood who that is.