I don't particularly have a problem with public funds going toward that, but I don't think library staff are trained or signed up for that work, or that libraries are an appropriate and cost effective way to help these people.
I don't think libraries should be sacred. They're nice to look at and nostalgic, but are increasingly anachronisms. Specialized facilities for higher education and historical research I can see still having some use, perhaps small school libraries, but the average public library not so much. They use a lot of space, a lot of floor space for books, requires staffing.