To write for posterity* is not to worry whether they will read us tomorrow. It is to aspire to a certain quality of writing. Even when no one reads us.
*Posterity is not the whole of future generations. It is a small group of men with taste, a proper upbringing, and erudition, in each generation.