Paywalls are a compromise that dramatically reduces the overall benefit a work has in order to get over the freerider problem that public goods face.
Basically: the PAY part isn't the problem, the WALL part is.
And other than securing funding, there's nothing else positive about paywalls (although I'll admit there's potential arguments around ideas like people appreciating things more when they have to pay for them — things that still don't anywhere near outweigh all the negatives that paywalls have)