Birds of a feather flock together
djos los kɾia i eʎos se xuntan
In Spanish Dios los cría y ellos se juntan.
This idiom emphasizes that people with similar characteristics or backgrounds tend to associate with each other.
Example
"Juan y Pedro siempre están juntos; Dios los cría y ellos se juntan."