Maybe I'm missing something (kind of reading this in a hurry as I'm still working), but it looked to me like it made sense. If you go strictly by the bible (as I'm told), then what the character said is true in that context and not homophobic, just something that is apparently in the bible.
no subject