If you're looking for examples critical of humanity you have lots of options (mostly from the last two centuries). Notes from Underground and The Death of Ivan Ilyich fit the bill.
I reread the former relatively recently (first time since college). It's dark, not for the easily affected.
Isn’t the latter an excerpt of The Brothers Karamazov? When I read it, it felt more like a criticism on certain economic theories, rather than people specifically.