Musonius Rufus wrote nothing himself. What survives of him was written down by other people: his lectures by a student, and short sayings by later writers. This is one of the sayings.
It survives because of Aulus Gellius, a Roman writer born in the 120s, after Musonius had died. As a boy at school, Gellius heard that Musonius had said it, liked it, and learned it by heart. Years later he put it in his book, the Attic Nights, along with an older Roman version of the same thought by Marcus Cato. So it comes to us second-hand, and Gellius says so himself.
Below is the whole chapter, in John C. Rolfe's translation of 1927. Musonius said it in Greek, and Gellius kept the Greek in his Latin book. "Subjoined" means added below. "Roundly" means neatly. "Diffusely" means at greater length. "Prior in time" means earlier. Right below the chapter, it is explained in plain words.
The saying
A saying of Musonius, the Greek philosopher, which is of practical value and worth hearing and bearing in mind; and a remark of equal value made by Marcus Cato many years before to the knights at Numantia.
When I was still young and a schoolboy, I heard that this Greek sentiment which I have subjoined was uttered by the philosopher Musonius, and since it is a true and brilliant saying, expressed briefly and roundly, I very willingly committed it to memory: "If you accomplish anything noble with toil, the toil passes, but the noble deed endures. If you do anything shameful with pleasure, the pleasure passes, but the shame endures."
Later, I read that same sentiment in the speech of Marcus Cato which he delivered At Numantia to the Knights. Although it is expressed somewhat loosely and diffusely compared with the Greek which I have given, yet, since it is prior in time and more ancient, it ought to seem worthy of greater respect. The words in the speech are as follows: "Bear in mind, that if through toil you accomplish a good deed, that toil will quickly pass from you, the good deed will not leave you so long as you live; but if through pleasure you do anything dishonourable, the pleasure will quickly pass away, that dishonourable act will remain with you for ever."
Musonius Rufus, a saying recorded by Aulus Gellius, Attic Nights, Book XVI, chapter 1 (the whole chapter). Translated by John C. Rolfe, The Attic Nights of Aulus Gellius, volume III (London: William Heinemann; New York: G. P. Putnam's Sons, 1927), page 131.
In plain words
The saying in quotation marks is Musonius's, as Gellius heard it. The rest is Gellius. What follows is how lostaf reads them, a few lines at a time.
When I was still young and a schoolboy, I heard that this Greek sentiment which I have subjoined was uttered by the philosopher Musonius, and since it is a true and brilliant saying, expressed briefly and roundly, I very willingly committed it to memory:
Gellius heard this at school. He was told Musonius had said it. It was short and true, so he learned it by heart, gladly.
"If you accomplish anything noble with toil, the toil passes, but the noble deed endures.
When something good costs hard work, the hard work is over one day. The good thing that came of it stays.
If you do anything shameful with pleasure, the pleasure passes, but the shame endures."
The second half turns it around. When something is pleasant in the moment but wrong, the pleasant part ends quickly, and what was done stays. Musonius sets the two side by side: what a thing feels like while it happens lasts a short time, and the thing itself is what remains.
Later, I read that same sentiment in the speech of Marcus Cato which he delivered At Numantia to the Knights. Although it is expressed somewhat loosely and diffusely compared with the Greek which I have given, yet, since it is prior in time and more ancient, it ought to seem worthy of greater respect.
Later, Gellius found the same idea in a speech by Marcus Cato, a Roman who had lived long before Musonius. Cato said it with more words and less neatly. Gellius still thought the older version deserved more respect, because it came first.
The words in the speech are as follows: "Bear in mind, that if through toil you accomplish a good deed, that toil will quickly pass from you, the good deed will not leave you so long as you live; but if through pleasure you do anything dishonourable, the pleasure will quickly pass away, that dishonourable act will remain with you for ever."
Cato's version says the same thing in more words, with one detail added: the good deed stays with a person for as long as they live.
If you are in the middle of something long and hard
Musonius taught that practice matters more than theory. Most of what survives of him is longer lectures. This one is two sentences, short enough for a schoolboy to carry in his head.
The saying does not pretend the work is light. It calls it toil. It only says the toil is the part that ends.
Gellius was a grown man with children of his own when he finished the Attic Nights. He still had the two sentences he had learned as a boy, and he put them in his book.