rabbi, i want the real calculus of giving. everyone says give more, but halacha has actual numbers and an actual order, and i want to know what the torah thinks the right balance is between giving to others and keeping for myself.

1. the numbers. the gemara (kesubos 50a) says a person should not give away more than a fifth of his assets, lest he come to need people himself, and rambam (matnos aniyim 7:5) calls a fifth the best way, a tenth average, and below that a bad eye. so is the fifth a ceiling or a target? and if it is a ceiling, why does halacha cap generosity at all, doesn’t that say something deep about what i owe myself?

2. the order. chayecha kodmin (bava metzia 62a), my life comes first, and my household’s poor before my city’s poor, my city’s before another city’s (YD 251:3). does my own wellbeing count as “my poor,” or only literal survival? where on the list do i rank?

3. what tzedakah even covers. is it only the poor, or does giving to parents, to friends, to my own growth count? is money i spend becoming a person who can give more later an investment in tzedakah or just an excuse to keep?

4. the feeling test. if i give and resent it, is that giving? and if i keep and feel fine, is that keeping?

bottom line, where does halacha put the line between generosity and self neglect, in both directions?