Physical attraction is part of God's design. Sex is for pleasure. Therefore a man shall leave his father and mother and be joined to his wife, and they shall become one flesh. And they were both naked, the man and his wife, and were not ashamed. It is God's answer for loneliness and isolation.
Procreation is secondary.
The Bible is pro-sex. Consider the Song of Solomon. If you are not familiar with this Old Testament book, take a few minutes to read it. I think you'll conclude that the Bible is not against sex. In fact, the Apostle Paul says not to deprive each other of sex.