For our ancestors, not being choosy about sex had very serious consequences. (It still might.) It’s “wild” to you that 3 million years of evolution is working as intended?
I suspect monogamy as we know it is a response to the invention of agriculture, and we have closer relatives (the bonobos) who have sex much more freely than some of our other closer relatives.
EDIT: Whoops I misread the abstract of the article, that doesn’t really give evidence towards my claim. However STDs did exist and I’m assuming people knew about them. Pregnancy itself would be a deterrent