This passage is part of Samuel's farewell speech as Saul is not taking over as the King of Israel. Samuel rebukes them for wanting a king but also extends to them the mercy and grace of God.