Defence, healthcare and the energy transition are among the spending priorities.