contestada

What does the author mean when he says "the lessons of supply and demand were often painful”?