the bible makes clear God's opinion on Homosexual acts. As for slavery it essentially says slaves should obey their masters, it does not say slavery is a moral good. pretty big and obvious difference in how the two are discussed. In fact it is also pretty clear that the oppression of the isrealite slaves was seen as a bad thing.