Take the trouble to (do something)

To make an effort to do something.

My grandmother always takes the trouble to phone us on our birthdays.