Amulets of squatting baboons were associated with Thoth, the patron deity of scribes. Baboons were also associated with the sun and moon.
From Giza, Debris E. of Pyr. I-b. ] Nov. 6, 1924: Excavated by the Harvard University–Museum of Fine Arts Expedition; assigned to the MFA by the government of Egypt.
Harvard University—Boston Museum of Fine Arts Expedition