What is the stated purpose of the imam’s pre-Tarwiyah sermon?

Book of Hajj: Sa’y between Safa and Marwa and the Day of Tarwiyah