The shinto principles
According to Wikipedia, Shinto is a popular religion in Japan. One of the concepts of Shinto, according to a Quora thread, is to do one’s best in regards to the task at hand. This could have helped shape the discipline of Japanese people.