That depends your perspective.
James 1:2-3 Count it all joy, my brothers, when you meet trials of various kinds, 3 for you know that the testing of your faith produces steadfastness. 4 And let steadfastness have its full effect, that you may be perfect and complete, lacking in nothing.
Romans 5:3-5 Not only that, but we rejoice in our sufferings, knowing that suffering produces endurance, 4 and endurance produces character, and character produces hope, 5 and hope does not put us to shame, because God's love has been poured into our hearts through the Holy Spirit who has been given to us.
Colossians 1:24 Now I rejoice in my sufferings for your sake, and in my flesh I am filling up what is lacking in Christ's afflictions for the sake of his body, that is, the church,
1 Peter 4:12-14 Beloved, do not be surprised at the fiery trial when it comes upon you to test you, as though something strange were happening to you. 13 But rejoice insofar as you share Christ's sufferings, that you may also rejoice and be glad when his glory is revealed. 14 If you are insulted for the name of Christ, you are blessed, because the Spirit of glory and of God rests upon you.