Keeping the freeze will cost the government £38bn over three years, the chancellor has said previously.