First of all, you should treat others with a friendly attitude and don't always think so badly of others. In fact, there are still many good people in the world. Secondly, pay more attention to other people's words and deeds. When others are talking, you should pay attention to observation. How do others deal with the same problem? What would you do with it? Slowly, you may find that others may handle it better and learn from others. Third, you should understand that people's personalities vary widely, and you can't always ask others by your own standards. Don't take it to heart as long as others make big mistakes in principle and small mistakes. I believe that if you do this, your interpersonal relationship will gradually get better.
No matter how kind and honest a person is, if your words and deeds are inappropriate, others will not accept you.
I hope my answer can help you.