Suppose $g(x)$ and $f(x)$ are defined on $(0, \infty)$ and are Riemann-integrable on $[t, T]$ whenever $0<t<T<\infty$, $|f(x)|\leq g(x)$ and $\int_0^{\infty} g(x)dx<\infty$. Show that $\int_0^{\infty} f(x)dx$ is also finite.
Proof: We have
$|\int_t^{T}f(x)dx|\leq\int_t^{T}|f(x)|dx\leq \int_t^{T}g(x)dx$ for all $0<t<T$ . (*)
Then the convergence of $\int_0^{\infty} f(x)dx$ follows immediately from the fact that $\int_0^{\infty} g(x)dx<\infty$ and by letting $t\to0$ and $T\to\infty$ one by one in (*).
My question: I can see how $\int_0^{\infty}|f(x)|dx$ exists since $\int_0^{T}|f(x)|dx$ is monotonically increasing; but I struggle to deduce the existence of $\int_0^{\infty}f(x)dx$.
I understand that this seems like a silly place to get stuck in. Any hint would be appreciated.