not until; only when
Expresses that something happened or was realized only after a certain event or condition. Often used with past tense to emphasize the delay or prerequisite.
It was not until I got sick that I appreciated the value of good health.
Only after I began living abroad did I realize the good points of my own culture.