Beings come together and associate based on disposition. The faithless come together and associate with the faithless, and other pairs of dispositions are mentioned.
Assaddhamūlaka sutta - Beginning With Faithless
At Sāvatthi.
"Bhikkhus, beings come together and associate according to disposition. The faithless come together and associate with the faithless; the unashamed come together and associate with the unashamed; the undiscerning come together and associate with the undiscerning; the faithful come together and associate with the faithful; the conscientious come together and associate with the conscientious; the wise come together and associate with the wise.
Even in the past, bhikkhus, beings came together and associated according to disposition. The faithless came together and associated with the faithless; the unashamed came together and associated with the unashamed; the undiscerning came together and associated with the undiscerning; the faithful came together and associated with the faithful; the conscientious came together and associated with the conscientious; the wise came together and associated with the wise.
Even in the future, bhikkhus, beings will come together and associate according to disposition. The faithless will come together and associate with the faithless; the unashamed will come together and associate with the unashamed; the unwise will come together and associate with the unwise; the faithful will come together and associate with the faithful; the conscientious will come together and associate with the conscientious; the wise will come together and associate with the wise.
Even now, bhikkhus, at the present time, beings come together and associate according to disposition. The faithless come together and associate with the faithless; the unashamed come together and associate with the unashamed; the undiscerning come together and associate with the undiscerning; the faithful come together and associate with the faithful; the conscientious come together and associate with the conscientious; the wise come together and associate with the wise.
Bhikkhus, beings come together and associate according to disposition. The faithless come together and associate with the faithless; the morally reckless come together and associate with the morally reckless; the undiscerning come together and associate with the undiscerning; the faithful come together and associate with the faithful; those with fear of wrongdoing come together and associate with those with fear of wrongdoing; the wise come together and associate with the wise.
[Should be expanded like the first round.]
Bhikkhus, beings come together and associate according to disposition. The faithless come together and associate with the faithless; the little learned come together and associate with the little learned; the undiscerning come together and associate with the undiscerning; the faithful come together and associate with the faithful; the very learned come together and associate with the very learned; the wise come together and associate with the wise.
Bhikkhus, beings come together and associate according to disposition. The faithless come together and associate with the faithless; the lazy come together and associate with the lazy; the undiscerning come together and associate with the undiscerning; the faithful come together and associate with the faithful; those with energy aroused come together and associate with those with energy aroused; the wise come together and associate with the wise.
Bhikkhus, beings come together and associate according to disposition. The faithless come together and associate with the faithless; the unmindful come together and associate with the unmindful; the undiscerning come together and associate with the undiscerning; the faithful come together and associate with the faithful; those attending mindfully come together and associate with those attending mindfully; the wise come together and associate with the wise."