The text is a proverbial expression suggesting that self-respect or self-care will lead to others respecting and caring for you. It does not play on different meanings of a word or similar-sounding words.
Be a friend to thyself , and others will befriend thee .