It's in line with God's glory that we suffer for the cause of Christ. Trials that come as a result of our devotions to the gospel glorifies God. There's no shame in suffering for the gospel.