The prime minister’s decision comes while the Labor government grapples with the cost of living crisis.