to good purpose
To effective use, as in A donation to the homeless shelter will be put to good purpose. This idiom was first recorded in 1553. Also see to little or no purpose.
Dictionary.com presents 366 FAQs, incorporating some of the frequently asked questions from the past with newer queries.