Was agriculture the greatest blunder in human history?

Twelve thousand years ago everybody lived as hunters and gatherers. But by 5,000 years ago most people lived as farmers.