Work done by the string of the simple pendulum during one complete oscillation is zero. Tension in the string exactly cancels the component parallel to the string. This leaves a net restoring force back toward the equilibrium position as it is equal to zero.