I'm trying to prove that $(p-1)! \equiv - 1 \ \text{(mod $p$)}$ for some prime $p$.
From reviewing other answers, I've seen people cite a theorem stating that $(p-1)! \equiv p - 1 \ \text{(mod $p$)}$. However, I have not before seen this theorem, nor is it cited in my textbook prior to this theorem, so I don't believe I'm able to use it. I'm therefore hoping there is some other way to prove this without using this fact.
The best I've been able to do so far is to write that $(p-1) = 1 \cdot 2 \cdot 3 \cdot \ldots \left(p-1\right)$, and since $p \equiv 0 \ \text{(mod $p$)}$, $p - 1 \equiv - 1 \ \text{(mod $p$)}$. For this to work, then, the remaining terms must either be $1$ or $-1$ with an even number of $-1$'s for the negative sign to win out. I don't believe we can apply Fermat's theorem, as each of these terms lack an exponent, even though it's clear that, since $p$ is greater than each of these terms from $1$ to $p-2$, it can't divide any of that.
Any hints or insights on how to approach this problem would be greatly appreciated.