Most samurai were bound by a code of honor and were expected to set an example for those below them.