We exalted them on the Mount , and they gave a solemn pledge , and We said to them : " Enter the gates submissively , " and told them : " Do not break the Sabbath , " and took a solemn pledge from them .