go to the bother of (doing something)

go to the bother of (doing something)

To make the effort to do something. Oh, you didn't have to go to the bother of preparing the guest bedroom for me—I could have just slept on the couch!
See also: bother, go, of