The Human Foot is a Design Disaster

From a design standpoint, the human foot is kind of a disaster. Although humans evolved to walk upright on two feet, our feet are prone to all kinds of injuries. So, why did natural selection give us this particular foot?