A function $f: [a,b] \rightarrow \mathbb{R}$ is Lipschitz continuous if and only if $\forall \epsilon >0, \exists \delta>0$ such that for every finite collection of closed intervals in $[a,b]$, $\{[a_k,b_k]\}_{k=1}^N$ (not necessarily disjoint) with
$\sum_{k=1}^N b_k-a_k < \delta$ then $\sum_{k=1}^N |f(b_k)-f(a_k)|<\epsilon$
The easy part is to prove that a Lipschitz function satisfy the property. But I'm having trouble with the other part.
I tried to mimic the proof that $\sqrt{x}$ does not satisfy the property with not necessarily disjoint intervals but unfortunately I got stuck. I saw this exercise on chapter 5 of Bruckner, real analysis.
I would really appreciate any hints or suggestions.