In the Buddha's first discourse he identifies craving (tanha) as the cause of suffering (dukkha).He then identifies three objects of craving: the craving for existence; the craving for non-existence and the craving for sense pleasures (kama).Kama is identified as one of five hindrances to the attainment of jhana according to the Buddha's teaching.
The meaning of the Kama Sutta is that sexual desire, like any habitual sense pleasure, brings suffering.
To lay people the Buddha advised that they should at least avoid sexual misconduct which meant following generally accepted norms of sexual morality and behavior.
It is not a "commandment" from God, the Buddha, or anyone else saying: "Thou shalt not..." There are no such commandments in Buddhism.
It is an undertaking by you to yourself, to do your best to observe a certain type of restraint, because you understand that it is a good thing to do. If you don't think it is a good thing to do, you should not undertake it.
Haven't I in many ways advocated abandoning sensual pleasures, comprehending sensual perceptions, subduing sensual thirst, destroying sensual thoughts, calming sensual fevers?
Worthless man, it would be better that your penis be stuck into the mouth of a poisonous snake than into a woman's vagina.
The Buddha's teaching arises out of a wish for others to be free from dukkha.
According to the doctrine he taught, freedom from suffering involves freedom from sexual desires and the training (Pali: sikkha) to get rid of the craving involves to a great extent abstaining from those desires.
Rather, it inspires lack of faith in the faithless and wavering in some of the faithful.'" The most common formulation of Buddhist ethics are the Five Precepts and the Eightfold Path, which say that one should neither be attached to nor crave sensual pleasure.
These precepts take the form of voluntary, personal undertakings, not divine mandate or instruction.
The 'flood' refers to the deluge of human suffering.