Celebrate itself would be the incorrect part.
Answer:
Celebrate itself is the correct answer
Explanation:
They built the pyramids to celebrate itself.
It should be they built the pyramids to celebrate themselves.