Make the effort or spend the money for something. Also put as take the trouble or go to the bother or the expense.
Examples:
- He went to the trouble of calling every single participant.
Origin: second half of 1800s
Synonyms: take the trouble, go to the bother