I was asked to prove the following: Let $f: R \to S$ be a morphism of rings. Then, any prime ideal $P \subseteq R$ that is a contraction of an ideal of S is a contraction of a prime ideal of S. I've got the following hint:
Consider $\mathcal{F} = \{J \lhd S $ | $ f^{-1}(J) = P\}$ a family of ideals. Then prove that every totally ordered chain of $\mathcal{F}$ has an upper bound and use Zorn's lemma to find a maximal element and prove that this maximal element is prime.
I am a bit stuck proving every totally ordered chain has an upper bound. If $J, K \lhd S$, $f^{-1}(J) = f^{-1}(K) = P$. Then $J + K \lhd S$, but I don't succeed to prove that $f^{-1}(J + K) = P.$ I had the following: if $x \in f^{-1}(J+K)$, then $f(x) = j+k$. But since f is not surjective, this does not imply that x $\in f^{-1}(J) + f^{-1}(K) \subseteq P$.
Moreover, when this is proved, I am also struggling to prove that the maximal element, say Q, is prime.