In order to make such a generalization, you would have to have hugged all the lonely people there are. If you hugged one a second, 24 hours a day, you would need 200 years. That's ambitious. Perhaps some lonely people are desperately lonely and as you so scornfully put it, try to receive any and all of the human warmth they can in any encounter, certainly to include any hug. Ever needed anything desperately, have you? Would you like to receive someone's scorn instead of that piece of bread or whatever it was you desperately needed?