The plan always included the destruction of the Beis Hamikdash, while keeping it eternal.
The paradox of Shlomo Hamelech's plan to hide the Aron.