People’s opinions about you are simply opinions. They are not truths. Don’t internalize them and causes yourself to suffer.
Most people know very little about you. How they judge you is based on what they value. And what they value can come from an infinite number of sources. It can come from family, friends, surroundings or even the books they read or the films they watch. You do not control the sources. You do not control how they interpret the messages they receive.
So don’t take what they say as truths. You know who you are and your job is to live up to your own values.