Question: who wrote the line a thing of beauty is a joy forever
Answer: Endymion is a poem by John Keats first published in 1818 .