I think the Harry Potter phenomenon is a good example of books outselling their literary merit.
That's not to say the books are dreadful, but much better books have sold much less.
But one of the joys of book reading is occasionally making your own discoveries, rather than always being lead by the nose by bestseller lists.