This proverbial phrase is used to express that if you are close to good, influential people or if you are in a good place, you will benefit from it.
Examples
- Spanish: Marta siempre va con los estudiantes más inteligentes de la clase; ya sabes, al que a buen árbol se arrima, buena sombra lo cobija.
- English: Marta always hangs out with the smartest students in the class; you know, he who leans on a good tree, a good shade shelters him.