Fyodor Dostoyevsky said this quote

If you want to be respected by others, the great thing is to respect yourself. Only by that, only by self-respect will you compel others to respect you.