make a virtue of necessity
make a virtue of necessity {v. phr.}
Make the best of things as they are; do cheerfully what you do.
After Mr. Wilson lost all his money, he made a virtue of necessity and found a new and interesting life as a teacher.
Compare: MAKE THE BEST OF.
Categories:
Source: A Dictionary of American Idioms