~てよかった (glad that X)
grammar2 sentences
The pattern [verb te-form] + よかった, literally 'X and it was good,' meaning 'I'm glad that X / thank goodness X.' Expresses retrospective relief and happiness about an outcome — formed from よい/いい (good) in the past tense.