Where does it say that? It is the consistent teaching throughout Scripture, both Old Testament and New, that God prohibits sex outside of marriage, There are concubines and mistresses all through the texts. Even mention of incest involving Father and Daughter with no condemnation.