is said for
People who live or work together and should set a good example to each other; if the one is good, probably the other will be good too.
When the new team leader began arriving early and helping with difficult tasks, her colleagues started doing the same. A good Jack makes a good Jill.