Allah's Messenger (ﷺ) said, "No doubt, you had better gather a bundle of wood and carry it on your back (and earn your living thereby) rather than ask somebody who may give you or not."
Sahih al-Bukhari Book 42, Hadith 22