Here’s something more for John 7:17 thought and prayer. In Basic Christianity, John Stott (1921–2011) said this about how we can know whether the teaching of Jesus is true:
The promise is clear: we can know whether Jesus Christ was true or false, whether his teaching was human or divine. But the promise rests on a moral condition. We have to be ready not just to believe, but to obey. We must be prepared to do God’s will.