All buildings are but monuments of death,
All clothes but winding-sheets for our last knell,
All dainty fattings for the worms beneath,
All curious musique, but our passing bell;
Thus death is nobly waited on, for why?
All that we have is but death’s livery.

james shirley
James Shirley (1596–1666) English poet, playwright
Poem (1639), “Fatum Supremum,” Facetiae: Wits Recreations, Epigram 170 (1640)
    (Source)

The piece is also known as "The Passing Bell." The connection of this epigram to Shirley seems faint; he is labeled (probably) as a co-author of another part of this book (with John Mennes the clear lead author of the collection). However, he was labeled as the author in the influential 19th Century Hoyt, Cyclopædia of Practical Quotations, English and Latin (1882), and the attribution was picked up and carried on from there in other books of quotations. Hoyt, in turn, may have cross-attributed a reference to Shirley in Dodd, The Epigrammatists (1870).