There was a time when if you had the wrong attitude at school or home, adults would put you firmly in your place. I am NOT going to turn thjis in to a debate on how to actually dicipline people, but they need to learn respect for others, this starts in the home before kindergarten oir nursery / school.
Of course at one time, if you behaved badly your parents would be socially judged accordingly, toy could easily lose your job, home etc due to this, so you made sure your offspring understood what is expected as to how to behave.
It starts with parents who know right from wrong, who are willing to enforce expectations of behaviour, good manners, courtesy and respect and model good behavior at the same time. It starts with politicians who make the laws, actually being able to abide by them.
It also starts with people taking RESPONSIBILTY for actions, words and behaviouurs accepting their punishment not having others make excuses.
I am NOT sure what the answer is, but a whole generation or two have been failed by the system and poor parenting, probably just a tiny fraction of people. but this is enough to cause huge problems for society, and no one has the strength to stand up to them and say !! NO !! as they think that breaches peoples rights. NO need to be enforced, with a short, sharp shock. Oddly we see this with trump and it demonstrates rather than being a barrier, behaving in a negative way, treating women as second class citizens, being racist, and discriminatory can get you the keys to the highest office, where at one time the only keys you got were to the local street, homeless and proably penniless. It is clear Trump has got his own way for most of his life.
We need decent role models, high quality education at ALL levels and not leave anyone behind, not too difficult surely, not everyone is suited to academic education, some people are practical in which case let them go down that route, work that leads to high quality qualifications and experience.