go to the trouble
Also, take the trouble; go to the bother or the expense. Make the effort or spend the money for something. For example, He went to the trouble of calling every single participant, or She took the trouble to iron all the clothes, or Don't go to the bother of writing them, or They went to the expense of hiring a limousine. [Second half of 1800s] Also see put oneself out.
Dictionary.com presents 366 FAQs, incorporating some of the frequently asked questions from the past with newer queries.