かん おおいて事定 ことさだまる
kan'o ōite koto sadamaru

Idiomatic Expression

1. a person's worth is assessed only when their coffin is sealed