For several thousand years, whose teaching dominated the chinese culture?