After watching TFA for the first time I got the impression that Luke went specifically to the first Jedi temple to learn something, perhaps even searching for the source of Snoke’s power.
That’s possibly subtext. The actual text says he believes himself to have failed with Kylo and goes into exile to the first Jedi Temple from the guilt, despite the growing threat of Snoke and the First Order.