That's why we have means testing at all: not to prevent people from needlessly getting benefits, but to prevent those who are undeserving of them from getting them.
A lot of things make more sense when you understand this imo, and stop trying to frame other people's views into your own moral framework (giving you the mistaken impression that they're hypocrites about it).