Islam commands care for orphans and the needy, and the Prophet ﷺ said the one who cares for an orphan will be with him in Paradise like two close fingers. Neglecting the poor while claiming faith is condemned in the Quran.
References
Quran 107:1-3Sahih al-Bukhari 5304
Informational, not a personal fatwa. Consult a qualified scholar for rulings on your situation.