Australia's top economic bureaucrat has begged the government not to spend the coming windfall from soaring coal and iron ore prices, saying if it did it would repeat the mistakes of prime minister John Howard and treasurer Peter Costello in the early 2000s.