for one's pains
In return for the trouble one has taken, as in And all he got for his pains was a failing grade. This expression is nearly always used ironically to indicate that the return was not appropriate to the effort made. [First half of 1500s]
Dictionary.com presents 366 FAQs, incorporating some of the frequently asked questions from the past with newer queries.