Now going into this particular case or any other case, if the community could have taken care of the dogs ( takes like 1 day in 1 year ) to get sterilisation and vaccination done, they would not breed and slowly population will decrease.
Giving food to animals was always incorporated in our culture, it still is in villages. There are rarely such cases in villages because people though might be poor there, they empathise with animals, they haven't lost the human touch, hell there is a village somewhere in Africa where villagers feed and take care of hyenas. You will see hyenas walking by newly born kids, not touching them at all.
When we say - Dogs are Menace, lets fucking kill them all. What we mean is - i am the most supreme and busiest in all of nature. I have no time and no interest about wellbeing of others. I cannot do deep thinking into a problem like this, instead will propose violent solutions. I cant see the soul in other creatures eyes.
Personal experience - wife ran an ngo for rescuing animals, we have adopted an indie, not able to feed animals regularly hence donate to rescue organisations. Also sponsor meals for rescued animals whenever there is a birthday/anniversary.