And there are no similar passages in other religious texts?

"They entered into a covenant to seek the Lord, the God of their fathers, with all their heart and soul; and everyone who would not seek the Lord, the God of Israel, was to be put to death, whether small or great, whether man or woman." (2 Chronicles 15:12-13 NAB)

See also Deuteronomy 13:7-12 NAB, Deuteronomy 13:13-19 NLT, Deuteronomy 17:2-5 NLT, Romans 1:24-32 NLT, Numbers 25:1-9 NLT