Sondheim has said that the use of the poem in the song was one of two times he has borrowed from another writer in his work, the other being lines from William Shakespeare's "Fear No More" in Cymbeline.