Surely though as we are capable of sinning we are flawed? Didn't he create us with a sex drive? If so then to punish us for listening to it seems unfair, hypocritical even. Or is sex a gift of the devil rather than god?
Sex is something God made and said it was very good. After he created Adam and Eve he commanded them to "be plentiful and procreate." Which meant: "have sex. A lot." It's just that sin distorts everything. God meant it for a man to only have sex with and lust after his own wife. But thanks to sin, it doesn't happen that way.
Though again, as our natural drives (sex and selfish need for survival to name two) seem to lead us towards sin, and one needs to defy these urges in order to keep from sinning I'd question whether those who sin are turning away or whether we actively have to turn towards him in order to be saved. Setting us on a road that leads to a cliff and then saying, 'if you don't turn off the road, it's your choice' seems a little unfair.
First of all, God didn't "set us on a road taht leads to a cliff," we sinned against God and turned off the road he put us on and headed toward the cliff. And yes, we have to actively turn to God to be saved, it doesn't just happen automaticaly.
Second of all, selfishness is not something God gave us. Selfishness came due to sin. Selflessness is a Godly characteristic. Look at Jesus, he did not in any way use his powers for his own benefit, but to help others.
Once you are saved, God gives you a new heart that is pure and perfect, which is where the Holy Spirit dwells. But our bodies are still full of sin and succeptabel to temtation, which is why we still sin. God looks at people's hearts and for believers he sees perfection, which is made possible through Christ. But God himself became a man and was tempted in every way we are, so he understands why we fail. He doesn't condem us for it, he just tells us that we can do better and promises to help us if we keep asking for his help. But we still need to confess our sins to God becasue that's how we get it off our chest.
God needs us to come to him and be honest with him. That's how the relationship forms. God wants a relationship with everyone, but relationships are built on intimacy. Intimacy is knowing and being known. We pray to God and tell him about our selves (our faults, our feelings, our emotions, etc.), and we read his Word to learn about him.