aus der Not eine Tugend machen

Etymology
lit. 'to make a virtue out of need'.

Verb

 * 1)  to make a virtue of necessity embrace something forced on one such that one pursues it to the full extent