Let $R$ be a commutative ring with unity. Consider the collection of ideals $\mathcal F:=\{I \lhd R : R/I $ is infinite $ \}$. If $\mathcal F$ is non-empty , then does $\mathcal F$ necessarily have a maximal element w.r.t. inclusion ?
I can only show that any maximal element of $\mathcal F$ (if exists) is a prime ideal.
Let $k$ be a finite field and let $R=k^I$ for some infinite $I$.
Then ideals of $R$ correspond to filters on $I$. If you are right that such an ideal is prime then this implies that the corresponding filter is prime, so an ultrafilter, hence $R/K$ is actually isomorphic to $k$ so is finite, a contradiction.
Hence if you're right about the primality of such an ideal, then there are examples without a maximal element (and of course examples with a maximal element, such as $\mathbb{Z}$)