Maria Edgeworth said this quote

The prevailing taste of the public for anecdote has been censured and ridiculed by critics, who aspire to the character of superior wisdom: but if we consider it in a proper point of view, this taste is an incontestible proof of the good sense and profoundly philosophic temper of the present times. Of the numbers who study, or at least who read history, how few derive any advantage from their labors!