Virtue is simply happiness, and happiness is a by-product of function. You are happy when you are functioning.
Humility is indeed beatness, a compulsory virtue that no one exhibits unless he has to.