Acceleration is directly proportional to the displacement from the position of equilibrium. Also the resultant force is therefore also directly proportional to this displacement, and the resultant force always acts towards this position of equilibrium.