This wonderful hymn is based on 2 Timothy 1:12 (Audio):
"For the which cause I also suffer these things: nevertheless, I am not ashamed: for I know whom I have believed, and am persuaded that he is able to keep that which I've committed unto him against that day."
Here are some sermons on this passage of holy scripture:
Faith Illustrated, by Pastor Charles Haddon Spurgeon (1834-1892)
How Can I Be Sure I'm Saved? by Rev. Colin Mercer
Rays of Spiritual Optimism for a New Year (2008), by Dr. Ian Brown
Blessed Assurance, by Graeme Craig
I Know Whom I Have Believed, by Rev. Roger Higginson
Don't Be Ashamed, by Rev. Calum Iain Macleod