Deuteronomy 27:15 – 28:68 provides a list of the blessings and curses associated with covenant obedience and disobedience. It is not clear if Joshua simply read this part of the Mosaic law or if he also read from other parts of Deuteronomy, Leviticus, and Exodus.
34 And afterward he read all the words of the law, the blessing and the curse, according to all that is written in the Book of the Law.