When the Prophet went on his pilgrimage to Medina, this sentence was sent to him; there is no compulsion in religion. to distinguish between truth and falsehood, to illustrate that force is a tool of non-believers as Islam in not a religion that forces people to adopt it, as was the practice of the non-believers in Mecca at that time. 