One of Paul’s encouragements to Timothy in 2 Timothy 1 is not to be ashamed of either God’s Word or of Paul. There would be many reasons to be ashamed humanly speaking. The message of the gospel was an offense to the Jews and foolishness to the Greeks (1 Corinthians 1:23). Preaching about Jesus frequently led to beatings and imprisonment. As Paul wrote, he sat in prison awaiting death. Yet, he encouraged Timothy not to be ashamed.
The reason Timothy was not to be ashamed is clear. The same reason applies to us. God has acted in our lives. God has acted in grace to save us for His purposes. We are not to be ashamed because the gospel is the message of life. We are not to be ashamed because we know Jesus and we know that He is able to keep our lives until the day of resurrection, when death will be completely abolished. We are not to be ashamed because we know the power, grace and faithfulness of God.