The Prophet of Allah, sallallaahu ‘alayhi wa sallam, helped the poor by showing them ways to earn wealth and would warn them from asking for money
Abu Hurayrah narrated that the Prophet of Allah, sallallaahu ‘alayhi wa sallam, said
“Whoever asks people for money in order to increase his own money is asking for a piece of Hellfire, so let them ask a lot if they want, or let them ask for a little bit if they want [either way, they will incur punishment].”
Abu Hurayrah also narrated that the Prophet of Allah, sallallaahu ‘alayhi wa sallam, said
“By Him in Whose hand is my soul, it is better for one of you to take firewood on his back and sell it, than to go to a man and ask for money, and he might give him or not.
Thus, working as a lumberjack, even if it is hard and even if it incurs looks of belittlement and despite the low wage one earns from it, is still better than being unemployed and begging from people