This whole "elves in the night" thing continues for a while and Sara and Becky are not quite so starved anymore, which bothers Miss Minchin because she's a total witch, and not in the cool J. K. Rowling sense.
Then, one day, Sara returns a monkey to her rich neighbor's house. (Really.) When she gets there, the man and his lawyer realize that … wait for it … she's Sara Crewe! Sara comes to live with the man and receives her inheritance, and Miss Minchin is predictably miserable when she realizes she's made a terrible mistake in treating Sara poorly and missing out on all that money she could have had.
So, in the end, the good are rewarded and the bad are punished—just like in a real fairy tale. Happily ever after!