You get more out of funding a good safety net so you don't send starving children to school and parents can spend time with their kids and get involved in their education.
That safety net is part of education. Schools keep children off the streets for 7 hours a day, offer reduced lunch. Investing in a social safety net is code for investing in public education.