Sorry, but desire is way older than sin.
Sin is a manmade concept to control people. The priests as part of the rulers duet told the people how to behave well, how to accept their fate and how to function properly within the system of slavery and opression.