The people before us weren’t perfect. Their mistakes are blueprints to learn from and build a better world