Since, the game is endless running. Therefore, there is no end to it. The temple continues as long as you are playing the game. Until, you strike with something or stumble upon a money.