John Locke said this quote

We are like chameleons, we take our hue and the color of our moral character, from those who are around us.