I'm having trouble finding anything about what thoughts were on premarital sex before the Old Testament.
It addresses a time that is very roughly contemporaneous with much of the time periods in which the Old Testament was written in a nearby place, but you might find my answer here about non-marital sex in nearby Classical Greece helpful?