I think more than anything else the pyramids were built to stand the test of time.
Regardless of any other objectives, the further that humans progressed into the future, the more this one purpose eclipsed all others.
Until by now what means most is that almost nothing else has come very close to this long-lasting purpose at all.