In this passage, God is speaking through the prophet Ezekiel to address the rampant immorality and idolatry among the people of Israel. The imagery of lewdness is used to symbolize the spiritual unfaithfulness and the turning away from God. By declaring that He will put an end to such behavior, God is emphasizing the seriousness of these actions and their consequences. This serves as a warning to all, especially to women in this context, to not follow in the footsteps of those who have strayed from God's teachings.
The broader message is about the importance of living a life that aligns with God's will, avoiding actions that lead to spiritual downfall. It underscores the need for repentance and transformation, urging individuals to seek a path of righteousness. This passage highlights God's commitment to purifying His people and establishing a community that reflects His holiness. It's a call to heed the warnings of past mistakes and to strive for a life of integrity and faithfulness to God.