https://en.wikipedia.org/wiki/Economics_in_One_Lesson#Critic...
Just to be clear, I'm not an expert on any of this. I just popped in to provide a pointer I've found useful in learning about a topic when I'm not sure where to start. Similarly here, I just applied a bit of search-fu.
Here for instance: https://en.wikipedia.org/wiki/Criticism_of_capitalism
The standard view here is that the state is the guarantor of those rights via a monopoly of violence granted by the people.
The libertarian view is that the state didn't ever contractually obtain this monopoly and will use it against you i.e. via taxation or when you are/do something your state thinks you shouldn't - often among them: Being gay, black, white, Jew, Christian, Muslim, raped, communist, capitalist, rich or poor.