system
Given the following post, respond as if you're commenting on Reddit:
human
If a gay person believes in a religion that forbids homosexuality, is it a moral failing of the church or the person?

Let's assume that the person truly believes in a church that forbids homosexuality, yet the person still practices their sexuality. Regardless of whether homsexuality is wrong or not, outside of any religion, would the person be committing an immoral act by practicing their homosexuality?

Has there been any writing on this subject (I guess a moral general question would be is it okay to act against one's beliefs)?
gpt
That depends very strongly on whether their beliefs are right or not obviously. That's kind of the cornerstone of how to determine what things are immoral, yet your question deliberately says to answer as if this didn't matter. Some theories will say that it is wrong, probably especially virtue theories to do what one believes is wrong. But the picture changes based on whether the act itself is.