If you want to be respected by others the great thing is to respect yourself. (Fyodor Dostoyevsky, 19th century Russian novelist)
Looking at it another way, former general and U.S. secretary of state Colin Powell wrote, “Trying to get everyone to like you is a sign of mediocrity.” The goal is not to seek attention or to be popular but to live a wholesome lifestyle, interact well with people, and be confident in your worth. Let your reputation take care of itself.
Make it your goal to live a quiet life, minding your own business and working with your hands. . . Then people who are not believers will respect the way you live. (1 Thessalonians 4:11-12)