lit. when one beats a dog, one must answer to its master (idiom) ꞏ fig. before punishing sb, one should consider how that would affect others associated with him