I read this, at first, as "gambling on sex before marriage."
Reminds me of an unintentionally funny line from a woman I know. She was reflecting on the several times she had had unprotected sex when she was young, but had managed not to become pregnant. Without meaning to pun, she said, "I guess I was just f***ing lucky".