The Four Books
The Four Books mention Shangdi as well but, as it is a later compilation, the references are much more sparse and abstract. Shangdi appears most commonly in earlier works: this pattern may reflect increasing rationalization of Shangdi over time, the shift from a known and arbitrary tribal god to a more abstract and philosophical concept, or his conflation and absorption by other deities.