The word "play" here is a general term that might mean immoral sexual activity, but it could just as well speak of singing and dancing or even of laughing at and mocking Moses and Yahweh.