After these things, there was a feast of the Jews, and Jesus went up to Jerusalem.

 So the authorities levelled their accusations against Jesus. The verbs in John 5:18 are imperfect tense, which describes repeated action in past time. Clearly this story is only a sample of what Jesus habitually did. 