I heard the Prophet (ﷺ), "Souls are like recruited troops: Those who are like qualities are inclined to each other, but those who have dissimilar qualities, differ."
Sahih al-Bukhari Book 60, Hadith 11