You can't change a homosexual into a heterosexual. You may find some very few people who are homosexual who say they are heterosexual and try to live like a heterosexual in order to appear like they are "normal" due to religious/familial pressure, but sorry to tell you, that doesn't change the fact that they are homosexual. The attraction doesn't disappear, it is just denied. A person who denies their true nature, the very basis of who they are, who they were born to be, does themselves a great disservice. To deny yourself who you are is to deny the very essence that is you and people who do that are not ever truly happy. They may put on an outward face to present that they are "happy" and "normal", but they aren't. This is why so many homosexuals and bisexuals that are pressured into believing that there is something wrong with them, and that they have to change and pretend to be something that they are not, end up suffering from depression and so many end up killing themselves. Self-denial is never good for a person and you do nothing but try to push someone into suicide when you honestly try to push them into denying who they are.
IMHO, any deity which condemns people for their sexual orientation, and encourages its followers to condemn, persecute and kill those people, is a deity to be ignored and ashamed of. A deity like that is not a deity worth worshipping because they obviously have no REAL idea of what love really is.