Bushidō was the product of the syncretic union of the principles of loyalty and honor as followed by the samurai, melded together with some of the cornerstones of Buddhist and Shinto ethics and the five, basic neo-Confucian precepts of interpersonal relationships known as Go-Rin.
From Buddhism there was the stoic tolerance to fatigue and the supreme contempt for danger and death. From Shintoism, there was the profound devotion for the country and reverence for the emperor. From Neo-Confucianism, according to the precept of the Go-rin, relationships were defined between lord and subject, between parents and children, between husband and wife, between elder brother and younger, even the relationship between friends.
The union of all these points represents the perfect chivalric code of the samurai