Our sufferings expose the worthlessness of the flesh that we might embrace the gold of Christ in us. On first reading we might think that this passage must be a misprint. Surely, it should read that many are the tribulations of the unrighteous. God goes for the gold. If we find ourselves in the midst of a fiery trial, we can be certain that God is working that Christ might be revealed in us.
Temptation is also a test.
Most of us probably feel that temptation is something we would be better off without. If we have experienced failure enough, we start to understand the answer to these questions. We begin to see that the Lord uses even our shortcomings to lead us to faith in Christ. All of us want to obey God, but most of the time obedience is something that is just beyond our grasp. We certainly try hard to please the Lord.