Proverbs 14:7

See that thou meddle not with a fool; and do as though thou hadst no knowledge.

Proverbs 9:6

Forsake ignorance, and ye shall live: and see that ye go in the way of understanding."

Proverbs 13:20

He that goeth in the company of wise men, shall be wise; but whoso is a companion of fools shall be hurt.

Proverbs 19:27

My son, heareth no more the doctrine that leadeth thee away from the words of understanding.

1 Corinthians 5:11

but now I write unto you that ye company not together. If any that is called a brother, be a fornicator, or covetous, or a worshipper of images, either a railer, either a drunkard, or an extortioner: with him that is such see that ye eat not.

Ephesians 5:11

and have no fellowship with the unfruitful works of darkness: but rather rebuke them.

Treasury of Scripture Knowledge

Summary

Go from the presence of a foolish man, when thou perceivest not in him the lips of knowledge.

Bible References

General references

Proverbs 9:6
Forsake ignorance, and ye shall live: and see that ye go in the way of understanding."
Proverbs 13:20
He that goeth in the company of wise men, shall be wise; but whoso is a companion of fools shall be hurt.
Proverbs 19:27
My son, heareth no more the doctrine that leadeth thee away from the words of understanding.
1 Corinthians 5:11
but now I write unto you that ye company not together. If any that is called a brother, be a fornicator, or covetous, or a worshipper of images, either a railer, either a drunkard, or an extortioner: with him that is such see that ye eat not.
Ephesians 5:11
and have no fellowship with the unfruitful works of darkness: but rather rebuke them.