1 Peter 5:10:

But the God of all grace, who hath called us unto his eternal glory by Christ Jesus, after that ye have suffered a while, make you perfect, stablish, strengthen, settle you.

See also:

Objection: God Sometimes Heals You Only After He Has Let You Suffer a While (1 Peter 5:10)