Being cast into pits recalls the maltreatment of Joseph at the hands of his jealous brothers (Gen. 37:23–24).