Counterexample: a smoothed version of the function $f$ given by the formula $$f(x)=(h/2)^{1/2}(1-\max(0,|x/h-1|))$$ with $h\downarrow0$.