For most of us, we can find a better use of our time then trying to dunk a basketball. It is often a fruitless endeavor, which only those born with certain talents (like having a hand big enough to grip the ball) are able to accomplish.
Just about everything else is a skill. A skill can be learned. If it can be learned then we can form a habit.
Being consistently generous is a habit.
Along with reliable, vulnerable, helpful…
So is reading and writing.
So is smoking, anger, and resentment.
Habits are both good and bad, productive and destructive, useful and useless. You get to choose which ones to form.