When they took Joseph with them , they agreed to throw him into the well . We revealed to Joseph that ( sometime ) in the future at a time when they would not recognize him , he would remind them of all this .