The problem was that none of that was in the film. On screen, Luke just quit for no reason. Maybe it’s in the books or you’re just supposed to infer that he quit for noble reasons, but simply based on the movies: he quit for no reason and abandoned his family and friends.