Earl Nightingale said this quote

Our attitude towards others determines their attitude towards us.