"These are the intrinsic values of an Islamic society, based on the principles of liberty, justice and equality of man," said Kayani, who visited Malala in Peshawar military hospital.
Kayani used the occasion to send out a message to the militants, saying incidents like the attack on Malala "clearly expose the extremist mindset the nation is facing." He said the terrorists had underestimated the "resolve and resilience" of the people.
However, the Army Chief, who condemned the attack on Malala as a "heinous act of terrorism," did not directly refer in his remarks to the banned Tehrik-e-Taliban Pakistan, which has claimed responsibility for the incident.
A group of doctors performed a three-hour-long surgery on Wednesday to remove a bullet lodged near the spine of Malala, who was attacked by the Taliban for speaking out against the atrocities of militants. Malala was hit by two bullets on Tuesday when militants fired at her inside a school bus at Mingora.