I think people need to remember that the pyramids were tombs based on the design of the earlier mastaba-type tombs, before the 3rd dynasty (eg the Step Pyramid of Djoser, 3rd dynasty).
The mastabas were shape like table-top.
The step-type pyramids are like multiple mastabas stacked on top of one another. The one above is smaller than the ones below.
And they (mastabas) were common form of burial royalty throughout the Early Dynastic Period (hence, 1st and 2nd dynasties) and continued to be throughout the Old Kingdom period (3rd to 6th dynasties) and in the 1st Intermediate Period, because not very kings could afford to build pyramids.
Most of the mastabas from the 1st dynasty, were constructed at the Umm El Qa'ab, a necropolis of Abydos.
Abydos was one of capitals of Upper Egypt during the Predynastic Period; the other was located further south, called Nekken.
The first true pyramid-shaped tomb, started in the 4th dynasty, not by Khufu (eg the great pyramid), but by Khufu’s father, Sneferu.
Sneferu was the 1st king in the new dynasty (4th), and he had the “Red Pyramid” built in Dahshur.
Anyway, you can sometimes see mastabas located near pyramids.
I just thought I would bring these up, because there were other tombs in Egypt, before and after Khufu. Most people focused on Giza so much (as well as the New Kingdom’s Valley of the Kings, near Thebes), that they forget about Umm El Qa'ab, Saqqara and Dahshur.