what philosophy came from china and later adopted by japanese warriors because it emphasized obedience and social harmony