How do we know He promised to be with the Church until end of time?

Cf. Mt 28:18-20 and parables of weeds and net. Would it not be ridiculous to suppose He became incarnate and died for just one generation?