If $R$ is an integral domain, then every proper ideal factors into primes if and only if every submodule of a projective module is projective.