Here is a great example of the ambiguity of personal endings. In Mark 13:29 Jesus says, “So also, when you see these things taking place, you know that he is near (ἐγγύς ἐστιν), at the very gates ” (ESV).
Any first year Greek student knows that ἐστιν is third singular, and that the personal ending does not designate gender. So what is the subject of the verb?
As usual, the rule is context. What does the previous verse talk about? V 28 talks about learning the lesson from the fig tree, and the preceding verses talk about the return of the Son of Man, Jesus. So it is natural that the ESV would use “he.”