"if we gave up life itself for a friend"

Lewis may have John 15:13 in mind here: "Greater love hath no man than this, that a man lay down his life for his friends."