Somehow, I suspect that while you might be upset with him, and even let him go, that junior dev will be better off learning what he can and then jumping ship then staying and working diligently in subservience. This advice is not how to make your managers happy by advancing their careers, it is how to make yourself happy by advancing your career.