1 Peter 1:6

In this, you should exult, if now, for a brief time, it is necessary to be made sorrowful by various trials

Other versions

King James Version

Wherein ye greatly rejoice, though now for a season, if need be, ye are in heaviness through manifold temptations:

English Standard Version

In this you rejoice, though now for a little while, if necessary, you have been grieved by various trials,

New International Version

In this you greatly rejoice, though now for a little while you may have had to suffer grief in all kinds of trials.