Confucianism was essentially a philosophical justification of government by benevolent bureaucracy under a virtuous ruler. Virtue ensured harmony between man and nature, as well as obedience within a stratified society.