[verb て-form] + こそ
てこそ means "only by ~" or "only once you have ~". It goes after the て-form of a verb, and the second half is a result, or an understanding, that the action alone makes possible.
こそ picks out "this and nothing else", so the action before it becomes the one condition that counts. The second half is positive – something achieved, something understood – and it is a general truth, so it stays in the non-past. A single past realisation takes てはじめて初めて instead.てこそ sounds weighty: a maxim, a speech, an essay. In conversation, ないと with a negative says the same thing more plainly.