Would "don't have sex before marriage because God said so" be as impactful? I don't think so.
Then maybe what is missing is a good view of God!
Here's Psalm 73:2-5 (NASB):
But as for me, my feet came close to stumbling,
My steps had almost slipped.
For I was envious of the arrogant
As I saw the prosperity of the wicked.
For there are no pains in their death,
And their body is fat.
They are not in trouble as other men,
Nor are they plagued like mankind.
His experience was from the other side: "Being a believer in Yahweh doesn't seem to have made my life better. In fact, my life seems to be worse." We don't love God for "what we can get out of it." We don't obey Him because "it works"; we obey Him because He is our Creator and our Savior and He has the right to tell us what to do; out of gratitude to Him, we choose to obey Him--even if it leads to suffering, to what seem to be bad consequences of obedience, to persecution. (Paul in 1 Cor. 15:19 said, "If we have hoped in Christ in this life only, we are of all men most to be pitied." Because we really can't expect our lives to be "better" by human standards!)
For me personally "God said it" was
the only relevant factor. I wanted
children, and it was actually hard not to be jealous of those who bore them out of wedlock. I knew that single mothers didn't have an easy life, but that didn't keep me from longing for children of my own. But what stilled my heart was knowing that God knew best--and with that, I could be content with my lot in life, even if it didn't include a man choosing me, even if it didn't include sexual pleasure, even if it didn't include children. And the fact that I obeyed God on this matter means I never will bear my own children--but He is God, He is good, and Romans 8:28 is still true. My husband and I knew we were getting married, and there was zero chance of pregnancy if we had engaged in sexual sin--what kept us from it was simply that God has the authority to say no, and He has said no.