Two County Durham schools are due to merge to provide a better future for children.