proverb

He that lives with cripples learns to limp.

company

states that

One should be cautious of the company that keeps.