The word of God is very plain about gender. God created male and female. He created each of us in His image and He decided who would be male and who would be female, giving each of us the identity He predestined us to be. No surgery, no denying, no amount of running and rebelling can change that. God doesn’t make mistakes.
Be happy and content with who God created you to be. Male or female, husband and wife made to reproduce in His image.