When you see
All these things,
That he is near,
At the very gates.”
οὕτως καὶ ὑμεῖς ὅταν ἴδητε πάντα ταῦτα, γινώσκετε ὅτι ἐγγύς ἐστιν ἐπὶ θύραις.
This is exactly the same, word for word, in Mark, chapter 13:29, and in Luke, chapter 21:31, except that Luke said the Kingdom of God, not he or it, was near. Jesus explained that when they saw these things like the budding trees, they should know that he, the Son of Man, or the kingdom was near. The end times were coming. When they saw all these things happening (οὕτως καὶ ὑμεῖς ὅταν ἴδητε πάντα ταῦτα), they should know the end or he was near, at the gates to their city or the doors to their houses (γινώσκετε ὅτι ἐγγύς ἐστιν ἐπὶ θύραις). There would be signs indicating what was to come.