virtue (GOODNESS) noun
a good moral quality in a person, or the general quality of goodness in a person
Patience is a virtue. [C]
Modesty seems to me to be a very overrated virtue. [C]
FORMAL In fairy tales, virtue is always rewarded whereas in real life it very often isn't. [U]
Compare vice.

virtue (ADVANTAGE) noun
(an) advantage or benefit
The virtue of having such a small car is that you can park it easily. [C]
It always looks odd to see an actress on TV extolling (=praising) the virtues of washing-up liquid. [C]
Would there be any virtue in taking an earlier train? [U]

To make a virtue (out) of something, esp. a bad situation, is to use it to your advantage, knowing that you can not change the situation.
I had a couple of months to spare between jobs so I thought I'd make a virtue of necessity by acquiring a few new skills.
 

virtuous adjective
Virtuous means possessing good moral qualities.
I've been up working since 6 o'clock this morning so I'm feeling very virtuous.
He described them as a virtuous and hard-working people.
Who wants to read about virtuous people - they're boring.

(disapproving) Virtuous can also describe a person who thinks himself or herself morally better than other people.
I'm convinced he only does that charity work so that he can feel virtuous.
He disliked intensely what he called 'the virtuous tendency' in the socialist party.

virtuously adverb