There were only ten of them whom they ◄spared/did not kill►. They were not killed because they promised to Ishmael that if he allowed them to remain alive, they would bring him lots of wheat and barley and olive oil and honey that they had hidden.