"But to one of Soapy's proud spirit the gifts of charity are encumbered. If not in coin you must pay in humiliation of spirit for every benefit received at the hands of philanthropy. As Caesar had his Brutus, every bed of charity must have its toll of a bath, every loaf of bread its compensation of a private and personal inquisition. Wherefore it is better to be a guest of the law, which though conducted by rules, does not meddle unduly with a gentleman's private affairs."
Soapy's many attempts fail, but the story ends with a typical O. Henry twist. No spoiler here.
The story was filmed in 1952, one of five stories in "O. Henry's Full House." Charles Laughton played the vagrant. He briefly meets Marilyn Monroe. Watch this segment on YouTube[3] or enjoy the entire film.
[1] https://americanliterature.com/author/o-henry/short-story/th...