Santiago of The Old Man and the Sea is the quintessential Code Hero because he begins the narrative with all the elements of such a hero, although he is old and poor. He is not defeated, because he never gives up on bringing in a fish, and Santiago does not lose his pride.
Despite his failures, he sets out in his boat after having caught no fish for eighty-four days. Nevertheless, Santiago is confident that he will catch a fish that he can sell.
[H]is hope and confidence had never gone. But now they were freshening as when the breeze rises. . . . He was too simple to wonder when he had attained humility. But he knew he had attained it and he knew it was not disgraceful and it carried no loss of true pride.
In his desire and courage, Santiago ventures out into the very deep water, where he hooks a marlin. Although he has nothing but his hands to hold the line, Santiago is strong, and he battles the marlin for days. Despite losing his harpoon, Santiago fights against the fish with his knife and his old hands. When the Mako shark comes and eats the flesh of the marlin that is tied to the side of the boat, Santiago continues to fight for the marlin, talking to himself. Nevertheless, the shark takes much flesh from the marlin.
"He [the shark] took about forty pounds and now my fish bleeds again and there will be others [sharks]."
"But man is not made for defeat," he said. "A man can be destroyed but not defeated."
. . . But I must think, he thought. Because it is all I have left. That and baseball. I wonder how the great DiMaggio would have like the way I hit him in the brain? It was no great thing, he thought.
Later on, he thinks, "I killed him in self-defense. . . . And I killed him well." But Santiago also tells himself that he has not killed the fish just to eat; he has killed it "for pride and because you are a fisherman." So, Santiago is not defeated, because he still has his pride in being a good fisherman. When he returns home in an exhausted state, he lies down on his bed and dreams of the lions, who also have pride.