go to (the) expense
idiomDefinition of go to (the) expense
: to spend money on something
Why go to the expense of installing something you'll never use? She went to great expense to have this party.