I would say that physiological needs originated as biological functions; however, their satisfaction is accompanied by sensual pleasure. Consequently, beyond serving biological survival, this pleasure enriches human experience by giving it an experiential dimension of meaning. Sex, for example, serves the biological function of reproduction, yet it is also a profound source of sensual pleasure.
From the Creator's perspective, however, sensual pleasure is neither the governing principle nor the ultimate end of sexuality. If this is true even for animals, it is all the more true for human beings, who are created in the image and likeness of God. However, the Fall described in Genesis marked humanity's departure from its original harmony with God, resulting in a diminished state of consciousness in which human beings no longer perceive and order reality as God intends.
Unlike the rest of the animal kingdom, which acts according to biological instinct, humanity was given divine laws to guide its conduct and to remind it of its unique vocation as beings created in the image and likeness of God. When biological instincts are no longer governed by higher reason and divine order, they become disordered and descend into lust and violence.
If one is sufficiently disciplined to still the mind and observe carefully, it becomes possible to discern the precise point at which a biological function moves beyond necessity and enters the realm of desire - the point at which one seeks more of the same experience from the same source. From there, desire can further transgress into lust, where the pursuit expands into the craving for more of the same experience from different sources.
For a person whose consciousness has become conditioned by lust, it may seem inconceivable that a man could behold a sexually attractive woman without being drawn into lustful desire. The progression from function to need, from need to desire, and from desire to lust represents a descent into a fallen state in which a legitimate need degenerates an overriding desire, ceasing to serve its proper purpose and instead taking control of the person. Even without an outward act or physical gaze, such a person remains inwardly captive to lust.
The absence of an external act of adultery does not necessarily indicate that the inner condition of lust has been overcome because the disorder begins within the heart before it manifests in outward action. The Pharisees emphasized the condemnation of the external act of adultery and sought righteousness through outward observance, but Jesus revealed that the deeper issue lies in the condition of the heart, where lust itself takes root.
Therefore, blaming God for setting mankind up to fail is equivalent to accusing Him of creating lust itself, rather than recognizing lust as a distortion of what was originally created with a proper purpose.
PS. Only applicable if one
accepts the underlying premises of a Creator, the Genesis account, and humanity's fallen state.

