The idiom "dejected and heartbroken" comes from Jiang Yan's "Rhapsody on Parting".
Tips
culture
It opens 黯然销魂者,唯别而已矣, 'what darkens the spirit and melts the soul is parting, and parting alone', then describes one kind of farewell after another: of soldiers, lovers, exiles and immortals.
history
江淹 (444–505) wrote a companion piece, 恨赋 'Rhapsody on Regret'. Legend says his talent later ran dry, which is the origin of 江郎才尽 'to have used up one's talent'.