What scripture does it say it is better for your seed to fall on the ground than the belly of a whore

There's no scripture in bible stating "it's better for your seed to fall on the ground than the belly of a wh*re." It might be a reference to Genesis 38: 7-10.

Related questions