DayOne, maybe this guy in the pub was complaining about someone who vomited on the floor in the toilet, he found that disgusting so he told you that you were lucky not to see that? And the bus maybe slowed down because an old lady was asking the driver something and he slowed down to listen to her? Maybe when he saw you crossing the street without any right to do so, he shouted at you because of being concerned by your dangerous behaviour?
My point is, you don't know why they behaved this way, there can be a positive explanation too, so why assume worst case?
I would say, like attracts like and you harvest what you seed. So if you find other people stupid and unpleasant, you need to work on being more intelligent and kind yourself. Blaming others and calling them idiots is neither intelligent nor kind