You know, to be clear, this is not entirely* an indictment of literary agents.
They are just doing their jobs.
It's an indictment of the traditional publishing industry that created their jobs.
https://terikanefield.com/traditional-publishing-and-the-pitfalls-of-the-literary-agent-model/
(I realized that this morning)
*edited in response to a good comment