In spite of its value, there are several points I would like to make. It is important to stress homosexuality is not an all or none phenomenon. Traditionally, male homosexuals were categorized in a simple fashion on two parameters. The first was whether their basic identification was masculine in this instance the homosexual male would have a completely normal masculine interest and behavior pattern but would show preference for homosexual acts. The strongly identified male homosexual is often found in male occupations including athletics, military service, professions and so forth. There is another group of homosexuals who are more troubled and troubling these individuals have a strong feminine identification so much so they are often easily identified by the lay person with pejorative labels. Of course, these are two poles of the problem and most homosexuals probably are an admixture of the two.
There is another continuum that males fall on as well. This is easiest to understand assuming a continuum of 1-10 where 1 would be complete heterosexuality and 10 would be compete homosexuality. This means you would find most heterosexual men (but not all) towards 1-3 and homosexuals (but not all) 7-10. Do not dismiss this continuum completely out of hand. Freud felt the punishing statutes and laws regarding homosexuality were written by men to suppress or repress their own homoerotic desires. You might not agree with this as well, but IMHO this continuum theory has heuristic value in considering the possibility of change either by treatment or faith.
Finally, we should probably all be aware of Gods gifts. Sometimes he gives with one hand and takes away with another Leonardo DeVinci is a good example. IMHO male homosexuals are over represented in many highly valuable creative and scientific endeavors. Also, finally, we have no real, final conclusions as to the etiology of homosexuality in spite of great effort to argue this or that theory.. It is a hard subject to come to grips with and we have been ill served by restricting psychological inquiry and investigation by postmodern, political efforts to declare homosexuality normal.
Well, sure, and most laws are written for that purpose, to discourage certain behaviour. Obviously, laws can't be written to discourage being, i.e., a law establishing it illegal to be a woman.