To do or say something to another person which you believe to be for their own good, and will be helpful for them in the future, although it might be painful or hurtful at this moment
Do or say something that causes someone pain because you believe that it will help them