A Law many of us have to deal with every day: laboring under an insecure boss who can’t stand to be shown up by those whom he considers his inferiors. By allowing the boss to take credit for your work/creativity/anything that makes him appear better than he is, you make your boss grateful to you, rather than angry and paranoid that you are out for his job. By allowing your master to spread his experience and wisdom to you, you make him feel better and you may gain a valuable insight. Plus, if your master continues relying on you to make him look good, it grants you some control over him as he is now partially dependent on you for his image.
From Robert Greene’s 48 Laws of Power