For small swings the sine of the angle is nearly the angle itself, so the restoring force becomes proportional to the swing, the spring condition for SHM.

Example

For small swings the sine of the angle is nearly the angle itself, so the restoring force becomes proportional to the swing — exactly the spring condition for simple harmonic motion.

highlighted = computed this step

The restoring force is not quite proportional

A spring's restoring force is exactly proportional to displacement, which is what makes it simple harmonic. The pendulum's restoring force is the weight times the sine of the angle, and the sine is not exactly proportional to the angle.

Frestore=mgsinθF_{\text{restore}} = m\,g\sin\theta

For small angles, sine of the angle is nearly the angle

But for a small angle, measured in radians, the sine of the angle is very close to the angle itself. So the restoring force becomes nearly the weight times the angle — proportional to the swing, just like a spring. That is why a gently swinging pendulum is simple harmonic. Swing it wide and the approximation breaks: the sine falls below the angle and the motion is no longer simple. The angle we used earlier to get a concrete restoring force is itself already too wide for this — it was just a convenient exact angle for a number; real simple harmonic motion needs much gentler swings.

sinθθ    Frestoremgθ\sin\theta \approx \theta \;\Rightarrow\; F_{\text{restore}} \approx m\,g\,\theta
A small swing is nearly simple harmonicA bob hanging close to the bottom, displaced only a little from straight down.bob
mechanics sin(theta) is approximately theta for small angles, making the restoring force proportional to displacement; wide swings break it.