Basically, God says here, "Go to bat for the disadvantaged." However, He admonishes us to judge righteously.
We know that there are people in the world who, perhaps because they have too much time, money, or guilt on their hands, make it their duty to become advocates for various causes, often doing it without regard for the possible consequences. They may think they are supporting something that is good, but they sometimes never think through what their support might mean and what will result from it. If many of the causes out there were actually followed through to the end, we would be living in a socialist or communist state, and no one would like it. Nobody would be free.
Jesus says, "The poor you will always have with you." Because that is the case, the question then becomes, "How best can we help them?" Remember Martha and Mary and what Jesus had to say to Martha? "Martha, you are getting overwrought about all this. But Mary has chosen the better thing" (Luke 10:38-42 paraphrased). Jesus is teaching that there is a point at which service and good works become a distraction and a worry, crowding out the higher duties of listening to Him.
Thus, we need to remember that, even though we want to do good works, they will never save us. They are a fruit of righteousness. They are not the ultimate goal or the end. They just show that we have inculcated into us part of God's character, and the natural outgrowth of that is good works (see Ephesians 2:10).
Richard T. Ritenbaugh
"If I Have Not Charity"