WRONG! Unless that Diety is the God of the Bible, then that religion is in violation of the First Commandment. Anything that follows that is false religion. Those other religions may teach that it is wrong to do certain things, but that does not mean that there is any "Truth" in them. They start out with a false premise.
The Decalogue was written to the Jews. To the Gentiles, God gave them a Law written on their hearts. They are to worship the Creator as seen through nature. Worship of creatures is sinful. But how is a Gentile supposed to worship Yahweh if he has never heard of him? God will judge us based on what we know and do/not do.
Regards