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.