I think my question is a little tricky to express, but I have observed this kind of behaviour pattern many times, and would like to know if it is coined in cognitive science.
As an example, consider an employer who has problems with time management - he is often late and even misses appointments. None of his employees have this kind of problem - his team is well functioning. However, the employer forces his team to use time tracking systems.
Another example: A person with a drinking problem tries to manipulate her friends and family to completely avoid bars, parties, and clubs, because these are the places where people tend to abuse alcohol.
The pattern I see is that a person is unable to deal with a particular personal problem, and instead obsessively tries to make sure that others don't get anywhere near that same problem. The measures to achieve this protection are often not rational and exaggerated.
I understand that at a healthy level, the described behaviour can be beneficial. For example if I experience a very painful situation and have an opportunity to teach others how they could avoid that experience, then I would vigorously do so.
However, I wonder if there is a term that describes when this behaviour is irrationally applied.