Mormonism is just a mutilated copy of the Jew playbook, with another added chapter.
https://www.churchofjesuschrist.org/temples/why-latter-day-saints-build-temples?lang=eng
Why mormons build temples
A Temple-Building People
Latter-day Saints are a temple-building and temple-loving people. It has been so from the earliest days of the Church. Through the Prophet Joseph Smith, the Lord declared that "my people are always commanded to build [temples] unto my holy name" (D&C 124:39-40).
In temples, we can draw closer to the Lord, we can learn more about His plan for our happiness, we can receive essential ordinances for our exaltation, and we can perform vicarious service on behalf of those who have died without the gospel of Jesus Christ. The culminating blessing of the temple is that we can be joined together as families for eternity, so that our relationships with those we love will last forever.
Sacred Places Upon the Earth
From the very beginning, there have been sacred places upon the earth where God has communed with His children. They were designated by God and hallowed by His presence as places where He would teach and bless His children. Many of these places are recorded in the scriptures.
Temples in the Scriptures
In addition to sacred places, the Lord also directed that sacred temples be constructed. The first temple structure mentioned in the scriptures is the tabernacle built by the Israelites under the direction of Moses. The tabernacle was a tent-like structure made with the finest materials available where sacred priesthood ceremonies could be performed during their time in the wilderness. It served as a kind of "portable temple" for generations (Exodus 26-27; 40:35).