[verb て-form] + 初めて
The grammar pattern て初めて expresses that only after doing something does one realize, experience, or understand something for the first time. It emphasizes that without the action in the て-form clause, the result in the main clause would not have occurred.
It often translates to "not until ~", "only after ~", or "it was only when ~ that ~" in English.
The result clause frequently contains verbs of realization or understanding such as わかる (to understand), きづく気づく (to notice/realize), and しる知る (to come to know).
However, it can also be used with other verbs to describe experiences that happened for the first time as a result of an action.
This pattern carries a reflective tone – the speaker is looking back and recognizing that a certain experience or action was the trigger for a new understanding or first-time experience. It implies that before that point, the speaker had not known, noticed, or experienced the thing described in the main clause.
Note the difference from plain はじめて初めて (for the first time): て初めて specifically links a cause or condition to the realization, whereas はじめて初めて alone simply states that something happened for the first time without emphasizing a prerequisite.