the outside shape of the holy temple , however , remained as it had been along the last decades , when no one tried to replenish it : the kingdom needed money for building ramparts and finance costly wars .