The shadow treasurer also blames government spending for inflation and says the Coalition would not ‘spend willy-nilly’ if elected.