面壁思過

Idiom

 * 1) to face the wall and ponder about one's misdeeds