Let $g : I \rightarrow \mathbb{R}$ be a $C^1$ map such that $g'(x) \ne 0$ for any $x$ in $I$. Assume that there exists $r \in I$ such that $g(r)=0$. Prove that for $\eta \in I$ sufficiently close to $r$ then the fixed point iteration $$x_{k+1}=x_k-\frac{g(x_k)}{g'(x_k)},\,x_0=\eta$$ satisfies $\lim_{k\rightarrow\infty}x_k=r$.
I noticed that this is Newton's method for finding the roots of $g$, but I couldn't manage yet to prove the desired conclusion.