idiom

To make a virtue of necessity.

Theme: acceptance Keyword: necessity

means

To turn an unavoidable situation into an opportunity or present it as a positive choice.

Example

Unable to travel, she made a virtue of necessity by exploring her own region.