If God hates sin, why would he create humans with a propensity to sin?

Hi JPM and thanks for your response.

If there was no Fall, then God is responsible for human nature regardless of whether he created us directly or indirectly through evolution.

I agree that our nature has been honed by evolution to help us survive. Without it, we might have long since gone extinct. But an omnipotent creator isnt constrained in the way that he can create humans or the world in general. God created angels who have free will, and yet they don’t have the same dark nature that humans have.

The point at which God considered our actions to be sinful isn’t really relevant my original question though. I am more interested in why would God create humans with a propensity to engage in actions which he despises?

Regardless, I dont think Homo Sapiens were the first moral agents on Earth. If one considers that Neanderthals and Homo Sapiens had similar levels of intelligence, and that chimps and humans possess empathy and reciprocity, it seems highly likely that moral agents evolved long before Homo Sapiens