If you lie down with dogs, you will get up with fleas meaning

HOME PROVERBS

company

If you lie down with dogs, you will get up with fleas

suggests that:
One should be careful of the company one keeps; if a person spendw time with bad people, he will suffer the consequences