describes
a situation in which one person makes the effort while another receives the reward or takes the credit.
When a situation where one man does the hard work but somebody else reaps all the benefits., the saying “One beats the bush, and another catches the bird” is appropriate.