It does not matter what you bear, but how you bear it.
Seneca, On Providence chapter 2. Translation: Aubrey Stewart.
Lucilius wants to know why adversity can fall on a good person if providence governs the world. Seneca answers by asking what a person can make of a hard circumstance. His premise about the gods matters here. This is part of an argument about providence as well as a piece of practical advice.
The linked printed page has the same words as the quotation.
Read the quotation in the context of this chapter in the named translation.
Seneca, On Providence chapter 2. Translation: Aubrey Stewart. Source and translation notes at StoicQuotes.
The English follows Aubrey Stewart’s translation. The chapter gives the surrounding argument.