got twisted up there.
yahshua did not say the opposite. he said if anyone is WILLING to obey yahweh completely, yahweh will reveal the truth about all things to him. no man can even desire yahweh unless it is granted from the father in heaven, and obedience follows yahweh's granting all that is needed, else there is no obedience.
and again, not we should know Scripture in order to obey it, as yahshua told the disciples they had already failed if they thought they could obey Scripture to be saved,
but rather if the disciples trust and rely on yahweh their father in heaven to accomplish their salvation and everything related to salvation now and in the world to come,
then it is as good as accomplished. (and must in any and all cases/persons be revealed by yahweh or else it is not known at all).