Iranian President Masoud Pezeshkian said the country would cease its attacks on neighboring nations unless it was hit first.