Numbers 25:4-9 ASV

There's a dynamic tension between the people Israel sleeps with and her spirituality. Would God's definition of safe sex include a spirituality component?