Play second fiddle to (someone)

To be second in importance to someone.

The man has been playing second fiddle to his boss for many years and has finally decided to change jobs.