Generosity is a related term of favor.
As nouns the difference between generosity and favor
is that
generosity is (uncountable) the trait of being willing to donate money and/or time while
favor is a kind or helpful deed; an instance of voluntarily assisting (someone).
As a verb favor is
(transitive) to look upon fondly; to prefer.