應天順人

Idiom

 * 1) to conform to the wishes of both heaven and the people