You get the kind of treatment you think you deserve because others see in you what you see in yourself. If you think you are inferior, you will act inferior and others will treat you that way.
How you think determines how you act and how you act determines how others will react to you. The more respect you have for yourself, the more respect others will have for you.
“Change your thoughts and you’ll change your world.”
– Dr. Norman Vincent Peale