Margery, an orphaned girl wandering with her brother Tommy, receives a pair of shoes from a kind gentleman. Overjoyed at finally having two shoes, she proudly shows them off to everyone, repeating "Two shoes!" so often that she becomes known as "Goody Two Shoes." The story explains the origin of her nickname, highlighting her previous state of poverty and her delight in a simple act of kindness.