To make your intuition precise we can write $f(x) = f(1) + \int_1^x f'(x)dx$.
Meaning we start at $1$ and add up all the tiny changes between there and $x$ to get $f(x)$. But in this case
$$f(0) = f(1)+ \int_1^0 f'(x)dx = -\int_0^1 \frac{1}{x}dx = -\infty$$
To see the integral diverges compare it to the series $\sum_{n=1}^\infty \frac{1}{n}$ which diverges by this proof.
$$\sum_{n=1}^\infty \frac{1}{n} \simeq 1 + \sum_{n=2}^4\frac{1}{n} + \sum_{n=4}^8\frac{1}{n}+ \ldots + + \sum_{n=2^k}^{2^{k+1}}\frac{1}{n}+ \ldots$$
Exercise: Of course the above counts $4,8,16,\ldots$ twice each. Fix it.
Exercise: Show each sum on the right is greater than $1/2$.