Henry Emily didn't accomplish the entirety of his goal, but the majority. He freed the souls inside of Molten Freddy, he freed Elizabeth Afton, and most importantly, his daughter - Charlotte Emily. William Afton survived but not in the form of Scraptrap.