Why were the pyramids filled with treasures?

A. The pharaohs did not want anyone else to have them.
B. The pharaohs would need these items on their journeys in the afterlife.
C. The pyramids were the safest place to keep these items.
D. The pyramid builders left these items there.