Often, sodomites and supporters of sodomy ask Christians “Why do you think God created gay people of being gay is a sin?” However, the question could be restated, “why did God create man with a sinful nature if sinning is a sin?” Of course the answer to the original question and the restated question is that God had a purpose in allowing Adam and his descendants to sin.
Here are a couple verses which speak to the question of why God created man with a nature prone to sin.
Romans 11:32 For God closed up all of the ones in disobedience, that all
of the ones he should show mercy.
Galatians 3:22 But the scripture consigned the whole under sin, that the
promise of belief of Jesus Christ should be given to the ones trusting.
Romans 8:20 For to vanity the creation was submitted, not willingly, but through the one submitting it, upon hope;