I'm not certain that Shakespeare has a quote about that, but you may be thinking of a poem by Edmund Spencer called "Daphnaida".
Spencer (who is more famous for his work "The Faerie Queen") wrote it for Douglas Howardwho was an heiress, mourning the loss of her husband. Some critics say that Spencer wrote it to criticize her for what Spencer saw as overboard mourning. In the poem, Daphne represents Douglas and Alcyon represents her husband, Arthur Gorges.
People will often refer heartbroken teenagers to it because of the very meloncoly nature of the poem which can be akin to your first break up or other teenage love situations such as when Edward leaves Bella for her own good in New Moon. The lines you may have been thinking of are as follows from Daphnaida:
I hate the day, because it lendeth light
To see all things, and not my loue to see;
I hate the darknesse and the dreary night,