The Brothers Karamazov was Dostoevsky's last novel. It came out in 1879 and 1880, and he died early in 1881. This passage is from its final chapter.
Ilusha is a poor schoolboy. Earlier in the book, Alyosha's brother Dmitri dragged Ilusha's father out of a tavern by his beard, while the boy ran beside them crying and begging for his father. The other boys used to throw stones at Ilusha. Then he fell ill, and over time they became his friends. Now he has died. After the funeral, Alyosha Karamazov stops with the boys at a big stone where Ilusha had wanted to be buried, and speaks to them.
The English is from 1912. "Compact" here means an agreement. "Wholesome" means good for you. Below is the first part of his speech, then an explanation in plain words.
The passage
Boys, we shall soon part. I shall be for some time with my two brothers, of whom one is going to Siberia and the other is lying at death's door. But soon I shall leave this town, perhaps for a long time, so we shall part. Let us make a compact, here, at Ilusha's stone that we will never forget Ilusha and one another. And whatever happens to us later in life, if we don't meet for twenty years afterwards, let us always remember how we buried the poor boy at whom we once threw stones, do you remember, by the bridge? and afterwards we all grew so fond of him. He was a fine boy, a kind-hearted, brave boy, he felt for his father's honour and resented the cruel insult to him and stood up for him. And so, in the first place, we will remember him, boys, all our lives. And even if we are occupied with most important things, if we attain to honour or fall into great misfortune—still let us remember how good it was once here, when we were all together, united by a good and kind feeling which made us, for the time we were loving that poor boy, better perhaps than we are. My little doves—let me call you so, for you are very like them, those pretty blue birds, at this minute as I look at your good dear faces. My dear children, perhaps you won't understand what I am saying to you, because I often speak very unintelligibly, but you'll remember it all the same and will agree with my words some time. You must know that there is nothing higher and stronger and more wholesome and good for life in the future than some good memory, especially a memory of childhood, of home. People talk to you a great deal about your education, but some good, sacred memory, preserved from childhood, is perhaps the best education. If a man carries many such memories with him into life, he is safe to the end of his days, and if one has only one good memory left in one's heart, even that may some time be the means of saving us.
Fyodor Dostoevsky, The Brothers Karamazov, Epilogue, chapter III, "Ilusha's Funeral. The Speech at the Stone" (part of a longer speech). Translated by Constance Garnett (William Heinemann, London, first published 1912), pages 818-819.
In plain words
The lines above are his. What follows is how lostaf reads them, a few lines at a time. It is one reading, and other readers may hear more.
Boys, we shall soon part. I shall be for some time with my two brothers, of whom one is going to Siberia and the other is lying at death's door. But soon I shall leave this town, perhaps for a long time, so we shall part.
Alyosha tells the boys he is leaving. One of his brothers has been sentenced to prison in Siberia, and the other is very ill. After that, he will move away.
Let us make a compact, here, at Ilusha's stone that we will never forget Ilusha and one another.
He asks them to agree, right here, never to forget Ilusha or each other.
And whatever happens to us later in life, if we don't meet for twenty years afterwards, let us always remember how we buried the poor boy at whom we once threw stones, do you remember, by the bridge? and afterwards we all grew so fond of him.
Even if they do not see each other for twenty years, he wants them to remember this day. They used to throw stones at Ilusha. Then they came to love him. He does not hide either part.
He was a fine boy, a kind-hearted, brave boy, he felt for his father's honour and resented the cruel insult to him and stood up for him.
He says who Ilusha was: kind and brave, a boy who stood up for his father when his father was humiliated.
And even if we are occupied with most important things, if we attain to honour or fall into great misfortune—still let us remember how good it was once here, when we were all together,
Whatever happens to them later, whether they do well or things go badly, he wants them to remember how good it was to be together here.
united by a good and kind feeling which made us, for the time we were loving that poor boy, better perhaps than we are.
While they were caring for Ilusha, they were kinder than they usually are. Caring for him made them better.
My little doves—let me call you so, for you are very like them, those pretty blue birds, at this minute as I look at your good dear faces.
He looks at their faces and calls them his little doves. It is a tender name.
My dear children, perhaps you won't understand what I am saying to you, because I often speak very unintelligibly, but you'll remember it all the same and will agree with my words some time.
He knows he may not be explaining himself well. He thinks they will remember it anyway, and understand it later.
You must know that there is nothing higher and stronger and more wholesome and good for life in the future than some good memory, especially a memory of childhood, of home.
Then he says the main thing. Nothing does more good for the rest of a life than a good memory, above all one from childhood or from home.
People talk to you a great deal about your education, but some good, sacred memory, preserved from childhood, is perhaps the best education.
Adults talk to them a lot about school. He thinks a good memory, kept safe from childhood, may teach them more than school does.
If a man carries many such memories with him into life, he is safe to the end of his days, and if one has only one good memory left in one's heart, even that may some time be the means of saving us.
Someone with many good memories has a lot to stand on. And even someone with just one good memory left still has something. One day that one memory may be what keeps a person from being lost.
If one good memory is all you have left
This is a scene from a novel, not a letter. Alyosha is a young man of faith who has lived in a monastery. A little later in the chapter, when one of the boys asks him, he says that they will all rise again and see each other, and Ilusha too. The novel is Christian, and the ending rests on that.
The part shown here does not depend on it, though. It asks the boys to keep one thing: the memory of a time when they were together and were kind. It does not say the memory will fix anything. It says it may be what saves them, some time.
Dostoevsky finished this book a few months before he died. These pages are almost the last thing in it.
If any of this is close to home and you are struggling to stay safe, you can call or text 9-8-8, any time, in Canada or the US. If you are in danger right now, call 9-1-1.