All major religious writings are full of thoughts relating to sex and food.
Without these two elements there would be no creation or sustenance of life. All powerful men in the history had more than their fair share of these two elements.
What is debatable is whether all religions are man-made or powerful men have succumbed to their carnal desires over the course of history.
If sex and the stories related to sex were fully acceptable and normal in the society then there would not be any discussion on this topic. Question remains to be answered is why something which is immoral and forbidden in this life is so frequently discussed in the scripture as reward in the life hereafter.