In the context of a pre-industrial society? I doubt it. In a hunter gatherer-society? I doubt it even more. people with certain skills (e.g. tool making, music, cooking maybe..) certainly, but not for a lot of people.
However, decent human beings do not value other human beings purely on the basis of their economic contribution. Someone might be a net cost, but a decent society still looks after them.