Not at all. Take $f(x)=x^2$ on the unit interval.