I can understand that since $p$ is prime, it does not have factors (apart from $1$). Since, $(p-1)!$ does not contain any factor of $p$ or $p$ itself, $p$ cannot divide $(p-1)!$
But I am unable to write a formal proof of it. Help would be appreciated.