God tells us in chapter 58 of the book of Isaiah that our relationship with the poor (or lack of it) is to be taken seriously. It is impossible to serve God with all our hearts and at the same time miss out on God’s call to care for the needy. The Scriptures say the way we care for the poor is tantamount to the way we see God. The prophet makes it clear that we must have a relationship with the poor if we hope to please God with our lives. Likewise, the Bible teaches us about God's heart for the orphan and widow. He cares very deeply about them.
No, this is the kind of fasting I want: Free those who
are wrongly imprisoned;
lighten the burden of those who work for you. Let the oppressed go free,
and remove the chains that bind people. Share your food with the hungry,
and give shelter to the homeless. Give clothes to those who need them,
and do not hide from relatives who need your help. (Isa. 58:6-7)