Read the line from act 2 of The Importance Of Being Earnest cecily. It is always painful to part from people whom one has known for a very brief space of time.
The literary device used in the line is a EPIGRAM!
Courage is a virtue seems like the answer, but I haven’t read the book. Though, I’m making an education guess because it takes courage to go to the moon.