Well, the inspired proverb says: “He that is walking with wise persons will become wise, but he that is having dealings with the stupid ones will fare badly. ”
يقول احد الامثال الموحى بها :‏ « المساير الحكماء يصير حكيما ورفيق الجهال يُضَرّ » .‏