Why didn't the High Sparrow kill Cersei instead of making her take the walk of shame?
Why in the world would he have killed her?
His goal wasn't to kill her. He wanted to establish power over her. He wanted to break her spirit and bend her to his will.
Fortunately for him, humiliating Cersei...