Find the word definition

Wiktionary
make a virtue of necessity

vb. (context idiomatic English) To make the best of a difficult situation; to recast or portray an action or situation in which one has no alternatives as an action or situation which was deliberately chosen on its merits.