Do not be like those on whom advice has no effect and who require punishment to correct themselves.
or simply: