Virtue is the fruit of realising knowledge.
First comes knowledge (experience gathered through living).
Then comes the realisation of knowledge (making that knowledge real in your living experience).
Then finally, out of the act of making your knowledge more real by living it moment to moment, you get virtue.
Virtue is the energetic reality of living the truth you are each moment.