Messenger of Allah ﷺ 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."
أَنَّهُ سَمِعَ أَبَا هُرَيْرَةَ ؓ يَقُولُ قَالَ رَسُولُ اللَّهِ ﷺ لأَنْ يَحْتَطِبَ أَحَدُكُمْ حُزْمَةً عَلَى ظَهْرِهِ خَيْرٌ لَهُ مِنْ أَنْ يَسْأَلَ أَحَدًا فَيُعْطِيَهُ أَوْ يَمْنَعَهُ