[make a virtue of necessity] {v. phr.} Make the best of things asthey are; do cheerfully what you do.
After Mr. Wilson lost all hismoney, he made a virtue of necessity and found a new and interestinglife as a teacher.
Compare: MAKE THE BEST OF.