make a virtue of something

idiomPart ofvirtue

make a virtue of something — idiom

1. To treat a bad situation as if it were a good one.

1.idiom
Definition

To treat a bad situation as if it were a good one.

Example

Sara made a virtue of her shyness by becoming a good listener.

Diego made a virtue of the long wait by reading a book.