It's not, but unless you are working on something that is directly impoverishing someone to this point, then the economic or social system that allows people to go hungry and without basics is more to blame than your particular role.
People don't go hungry anymore due to lack of societal resources. It's due to either a lack of sufficient collective concern, or even a belief that it is largely acceptable that this occurs.
That the effect of your inequality inducing job is hunger for someone can only be countered with policy and incentives that work at societal, not with individual choices to disengage from jobs that optimize productivity.
It's similar to the fallacy of asking Warren Buffet to cut an additional check to the IRS vs raising tax rates, or the fallacy of thinking that an individual's choice not to eat meat has any meaningful effect on climate change.
> I don't want to just donate to charities, I want to end systemic problems that lead to charities needing to exist in the first place.
This is actually a great way to think about it, and if you have the personal means to pursue the systemic issues without having to worry about your own survival, then go for it. But know that this will almost certainly involve spurring on the collective human will to act towards that goal, not inventing a technology as an individual that will fix the problem.