His real name was Pepinakht. As officer, he led at least three expeditions. All of these are registered on the façade of his tomb at Qubbet el-Hawa, after a long list of his titles. In the first expedition, Pepinakht led a surprise attack in the lands of Wawat and Irthet, slaying many warriors and taking many prisoners to the court of the pharaoh. Then, he was sent back to the same places where he captured some chieftains, and also brought back a booty. For his third expedition, Pepinakht was instructed to bring back the corpse of Enenkhet; he was an expedition leader in charge to build a ship to reach the Land of Punt, but he was attacked and killed along with his escort by the "sand dwellers". Pepinakht's autobiography abruptly ends while he was attacking the "sand dwellers". However, it's very likely that he was able to accomplish even this mission. His capabilities and charisma earned him the nickname Heqaiband then, after his death, a quick apotheosis. This fact may be representative of the great power achieved by local authorities in this period, which is a prelude to the forthcoming collapse of the Egyptian state. His son, named Sebni, apparently succeeded him in his charges. In a room in an official building on Elephantine were found several wooden boxes with names of local officials. One box bears the name of Heqaib. These boxes were most likely used in rituals around the funerary cult of the people mentioned on them.
Legacy
Shortly after Heqaib's death and divinization, a great number of people started to worship this "local saint" initially in front of his tomb at Qubbet el-Hawa, and later in a purpose-built sanctuary. From the various documents left by those devotees it is known that many of them were named "Heqaib" in his honour, and even some pharaohs are known to having left dedications in the sanctuary: among the royal statues found here can be mentioned those of Mentuhotep I, Intef II, Senusret III, Sekhemkare Amenemhat V, Neferhotep I, and Sekhemre-Wadjkhaw Sobekemsaf I, while it is known that Intef III ordered a restoration of the sanctuary during the early 11th Dynasty. Heqaib's distant successors during the Middle Kingdom such as Sarenput I, Sarenput II and Heqaib III, expanded the sanctuary by building shrines dedicated to him and to themselves. However, with the advent of the troubled Second Intermediate Period the sanctuary was progressively abandoned and filled with debris, until its rediscovery by Edouard Ghazouli in 1932 and the subsequent excavations by himself and Labib Habachi.