Knitting socks was not a particularly glamorous hobby, but it filled the same mental need as the sword—careful work that held his attention and hopefully did not allow his mind to wander too far afield. Plus at the end, you got socks out of it, and no one appreciated good socks like a soldier.