Sex was invented as a biological instrument by (say) the green algae. But as an instrument in the ascent of man which is basic to his cultural evolution, it was invented by man himself.
Jacob Bronowski (1976). “The ascent of man”