闭门思过

bì mén sī guò

shut oneself up and ponder over one's mistakes

to close

mén

gate

to think

guò

to cross