Schools in England will benefit by more than £7bn over the next three years.