Etymology
Today it means: A person who is ill-behaved. Full definition →
By analogy with goody two shoes.
Etymology from Wiktionary, CC BY-SA 4.0.