Thank you for contacting BibleAsk.
The Lord created sex as an expression of love, intimacy, sharing, unity and procreation. Jesus said, “At the beginning the Creator ‘made them male and female,’ and said, ‘For this reason a man will leave his father and mother and be united to his wife, and the two will become one flesh.’ So they are no longer two, but one flesh. Therefore what God has joined together, let no one separate” (Matthew 19:4-6); The Lord also said, “Be fruitful, and multiply” (Genesis 1:22). So, Sex is God’s gift of love and procreation to a married couple.
The Bible tells us that sex outside of marriage is a sin, it is breaking the seventh commandment “Thou shalt not commit adultery” (Exodus 20:14). This prohibition for sex covers not only adultery but fornication and impurity of every act, word, and thought (Matt. 5:27, 28). This, our third duty toward our “neighbour,” is to respect and honor the bond upon which the family is built, that of the marriage relationship, which to the Christian is as precious as life itself (Heb. 13:4).
When and if we have sex outside of the holy union, we have to ask for forgiveness and then repent or forsake our sin. “If we confess our sins, he is faithful and just to forgive us our sins, and to cleanse us from all unrighteousness” (1 John 1:9). The Lord is ready to forgive the repentant sinner, though He cannot forgive these sins in the sense of overlooking them. Confessed sins are borne by the Lamb of God (John 1:29). The gracious love of God accepts the repentant sinner, the confessed sin is taken away from him, and the sinner stands before the Lord covered with the perfect life of Christ (Col. 3:3, 9, 10).
The Lord not only forgives the sinner but also cleanses him from all unrighteousness. When confessing his great sin David prayed, “Create in me a clean heart, O God” (Ps. 51:10). God requires moral perfection of His children (Matt. 5:48) and has made provision that every sin may be successfully resisted and overcome ( Rom. 8:1–4). Believers have to try their best NOT to sin through the grace of God. And the Lord promised to supply all the grace necessary and strength to overcome “I can do all things through Christ which strengtheneth me” (Philippians 4:13).
In His service,