Just as Cain was jealous of Abel's approval by God, Miriam and Aaron are jealous of Moses and his position before God. Though they spoke these complaints in secret, God heard every word of it and made it known to all. He rebuked Miriam and Aaron for their actions, and Miriam was sentenced to live outside the camp for seven days.