This was because samurai first were used as warriors to defend the rich. Some samurai were relatives of the rich, some of whom were hired to work for them. However, either of them was extremely loyal to the masters, which sometimes could even be beyond anything. As time changed, samurais gradually started to fight for their owners, becoming the signatures of warriors and soldiers (bushi). There were many principals and rules that a samurai should obey, and Tale of Heike provided much information about that, showing a vivid image of samurai during the Genpei War at the last phase of Heian
This was because samurai first were used as warriors to defend the rich. Some samurai were relatives of the rich, some of whom were hired to work for them. However, either of them was extremely loyal to the masters, which sometimes could even be beyond anything. As time changed, samurais gradually started to fight for their owners, becoming the signatures of warriors and soldiers (bushi). There were many principals and rules that a samurai should obey, and Tale of Heike provided much information about that, showing a vivid image of samurai during the Genpei War at the last phase of Heian