Are there any countries or cultures where mental health is dealt with competently

Certainly here in Egypt and I agree with the poster above there is a very strong extended family tie.
There is also the belief that everything is God given so it is all God’s will. In this culture one cannot question God’s will but accept it. So a family who would have a member who has some kind of mental illness would almost certainly be treated within the home as a normal member of the family and with help from a doctor if they needed drugs and not looked away out of sight.
Because of the strong family unit there is incredible support. The family all rally round and are never far away if help is needed. There is always chatter going on at tables. TV is only rarely watched. People talk. The weekend is a full family affair where the whole lot of them either visit in one home for dinner or they all go out to a park or the beach or the Nile, year round. Every mealtime be it breakfast or dinner is a communal affair even with workers who share food.
Also because they believe in God there is no stigma attached to mental illness. They think God has done it for a reason and never question it.
Violent patients however who cannot be handled by the families can be sent to Abbaseya. There are few psychiatrists and therapists in Egypt, even fewer mental hospitals. You don’t get Egyptians running around shooting at school children or nurseries or disgruntled employers. Everything is Gods will so is then accepted.
When I was in many US cities I was amazed in your Yellow Pages some of your biggest sections are Attorneys and Therapists.