Sir Gawain took the Green Knight's challenge as this was part of the chivalry code of honor of all knights. ... The chivalry code that Gawain strives to live up to is one of loyalty, courage, and courtesy, a code of behavior expected of knights. Throughout his journey, Gawain remained courageous and brave at all times.