No we didn't. We knew it was true as far as we had managed to check, around up to 10^13. That's really not enough. See e.g. Mertens conjecture[0], which if true would imply the Riemann hypothesis. It's true for all n < 10^16 (and probably much further), but is false nevertheless.
Perhaps now I know why mathematicians aren’t rich..