Beings come together and associate according to disposition. The lazy come together and associate with the lazy, and other pairs of dispositions are mentioned.

Kusītamūlaka sutta - Beginning With Laziness

At Sāvatthi.

"Bhikkhus, beings come together and associate according to disposition. The lazy come together and associate with the lazy; the unmindful come together and associate with the unmindful; the undiscerning come together and associate with the undiscerning; those with energy aroused come together and associate with those with energy aroused; those attending mindfully come together and associate with those attending mindfully; the wise come together and associate with the wise."