This is an example from Galois Theory.
If F is a field, then a nonzero polynomial p(x) ∈ F[x] is irreducible if and only if (p(x)) is a prime ideal.
proof:
Suppose p(x) is irreducible.
If ab ∈ p, then p | ab
Euclid's lemma implies that p | a or p | b.
Thus, a ∈ (p) or b ∈ (p).
Finally, p is a proper ideal.
I'm ok with the prove till a ∈ (p) or b ∈ (p).
But then why p is a proper ideal? The question only give us p(x) is a polynomial in a field.
If $p$ is irreducible, then by definition it is not a unit, so $1\not\in (p)$ and $(p)$ is a proper ideal.