Just as the Teacher in His promise declares not only joy but also sorrow, saying: "in the world you will have tribulation" (John 16:33); so also the apostle added to the word about joy: "having been grieved." But since this too is distressing, he adds "now," and this is in agreement with his Leader. For He also says: "you will be sorrowful, but your sorrow will be turned into joy" (John 16:20). Or the word "now" should be referred to the joy, since it will be succeeded by the future joy, not short-lived, but lasting and endless. And since the discourse about trials produces disturbance, the ap...ostle points out the purpose of trials: because through them your proven character becomes more evident and more precious than gold, just as gold, tested by fire, is valued more highly by people. He adds: "if need be," teaching that not every faithful person, nor every sinful person, is tested by sorrows, and neither the one nor the other is left in them forever. Righteous people who suffer endure sorrows for the obtaining of crowns, while sinners endure them as punishment for sins. Not all the righteous experience sorrows, lest you consider malice praiseworthy and come to hate virtue. And not all sinners experience sorrows — so that the truth of the resurrection would not be called into doubt, if everyone were to receive their due already here.
Source: Commentary on 1 Peter