SubhashitamUpajati
मृगा मृगैः सङ्गमुपव्रजन्ति गावश्च गोभिस्तुरगास्तुरङ्गैः । मूर्खाश्च मूर्खैः सुधियः सुधीभिः समानशीलव्यसनेषु सख्यम् ॥
Deer flock with deer, cows with cows, horses with horses; fools with fools, and the wise with the wise. Friendship arises among those of similar character and habits.
abyasam.com/en/subhashitam/sub-mrgah-mrgaih-sangam-065
companyfriendshiplike-mindednessassociation