yú​fāng​shuǐ​fāng

the water takes the shape of its container

盂方水方 yú​fāng​shuǐ​fāng
the water takes the shape of its container
Used to describe how the behavior of subordinates or citizens is shaped by the conduct and example of their leaders; literally "if the basin is square, the water in it will also be square".