What's wrong with my following proof?
Suppose $f:\Bbb R\to \Bbb R$ is continuous. Take $x,y\in \Bbb R$.
Given $\epsilon >0$ there exists $\delta_1,\delta_2$ such that $$ 0<|x-x_0|<\delta_1 \rightarrow |f(x)-f(x_0)|<\epsilon\\ 0<|y-x_0|<\delta_2\rightarrow |f(y)-f(x_0)|<\epsilon $$ For some fixed $x_0$.
Then $|f(x)-f(y)|\leq |f(x)-f(x_0)|+|f(y)-f(x_0)|<2\epsilon$ provided $|x-y|<\min\{\delta_1,\delta_2\}$.
So we've found a $\delta$ which works for all $x,y$. This is obviously wrong somewhere, but where?