I might have a bug in my brain, but I just can't figure this out. Please help. According to the first of the Maxwell Equations, we have $$ \nabla\cdot\vec{E}=\frac{\rho}{\epsilon_0}. $$ And we have for the electric field of a point charge $$ \vec{E} = k\frac{\vec{r}}{r^3}, $$ where $k=\frac{q}{4\pi\epsilon_0}$, $\vec{r}=[x_1,x_2,x_3]$ and $r=\sqrt{x_1^2+x_2^2+x_3^2}$. Now I want to find the divergence of this electric field $\vec{E}$, so let's derive the i-th component w.r.t. $x_i$: $$ \frac{d}{dx_i}\vec{E}_i = k\frac{r^3 - 3r^2r'x_i}{r^6} = k\frac{1}{r^3}-3k\frac{rx_i^2}{r^6} = k\frac{1}{r^3}-3k\frac{x_i^2}{r^5} $$ where I used $r'=\frac{dr}{dx}=\frac{x}{r}$. Now let's add up the tree derivatives.
$$ \nabla\cdot\vec{E}=\sum_{i=1}^{3} \frac{d}{dx_i}\vec{E}_i = \frac{3k}{r^3} - 3k\frac{x_1^2+x_2^2+x_3^2}{r^5} = \frac{3k}{r^3} - \frac{3k}{r^3} = 0. $$
So the divergence of the electric field of a point charge would always be zero, when it actually should be equal to $\frac{\rho}{\epsilon_0}$. Please help me figuring out, what I am doing wrong or where I have a misconception. I'm thankful for every kind help :)