The Loyalist Teaching, or The Loyalist Instructions, is an ancient Egyptian text of the sebayt ('teaching') genre. It survives in part from a stela inscription of the mid Twelfth dynasty of Egypt. The whole text can be found in papyrus scrolls of the New Kingdom period. Its authorship is uncertain, although it has been suggested (with no direct evidence) that it was written by the vizier Kairsu of the early Twelfth dynasty. The text emphasizes the virtues of loyalty to the ruling pharaoh and the responsibilities one must maintain for the sake of society.
The first half of The Loyalist Teaching is found on a Twelfth-dynasty biographical stela at Abydos made in honor of Sehetepibre, a high government official and seal-bearer who served under the Pharaohs Senusret III (r. 1878–1839 BC) and Amenemhat III (r. 1860–1814 BC; overlapping reign dates due to coregency). The full version of this Middle-Kingdom-era text only survives in New-Kingdom-era copies. These include a tablet of the early Eighteenth dynasty of Egypt, the Louvre Papyrus dated to the second half of the Eighteenth dynasty, a papyrus of the Ramesside Period (i.e. Nineteenth and Twentieth dynasties), and over twenty ostraca fragments dated to the Ramesside Period.
The full text of The Loyalist Teaching comprises approximately 145 verses. It can be divided into two distinguishable sections. In the first, the teacher instructs his children that they must always respect and obey the pharaoh of Egypt, who is given praise. It is made clear that the pharaoh will destroy his enemies, but his supporters will be cared for. William Kelly Simpson—a professor emeritus of Egyptology at Yale University—asserts that The Loyalist Teaching can be classified under the Egyptian "literature of propaganda" that extols the virtues of the king. This is in contrast to works of the "literature of pessimism," such as the contemporaneous Prophecy of Neferti, which describe a time of chaos and a need to reestablish values that ensure a stable society. In the second section of The Loyalist Teaching, the author of the text instructs his children that they must also respect the common people and uphold their allotted duties in society. This includes duties of the landowner, who must not abuse his tenants lest they abandon and thus impoverish him.