Buddhism thoughts of universal love and encouraging people to do good and Confucian thoughts of love for living things and people were highly mixed together in Du fu's thoughts in his later years.
While he continued taking the lead in dealing with social affairs under the Thou Dynasty rules. We can also see from it that he is a real scientist demeanor.