On the contrary, for a Jew, it is primarily the teachings of Moses (pbuh), which need to be followed for the eternal success in the hereafter.
Although this is true, it is not a defining tenet of Jewish philosophy except perhaps in a theology course. As I mentioned, Jews do not place a lot of emphasis on preparing for the afterlife, which may not start until a billion years in the future. They believe that their god judges them here and now: in their mortal lives on earth. They must follow the teachings of Moses, which are in essence the Ten Commandments, in order to be judged worthy by their god. Other "covenants" with the deity have accreted to these obligations over the centuries, all of which must be kept.
Jews believe that they have broken the Covenant (the Ten Commandments) as well as the subsequent lower-case covenants. This is the reason that they, their god's "chosen people," have been singled out for so much grief and abuse, from the tribulations documented in the bible to the Holocaust and beyond.
This is a communal feeling about a communal experience, which is therefore both a cause and an effect of the Jews' historical separation from neighboring ethnic groups. On the one hand it's a little unfair to welcome into the tribe an outsider, whose family will henceforth suffer a constant rain of calamities that their ancestors did not invite. On the other hand it's more than a little unfair for a Jew to marry a Gentile woman, so that his children will automatically not be Jewish and will be spared from those calamities. (Although Hitler did not spare those children and I've never heard a Jew comment on what seems to be a certain biblical justice in it.)
Jews have made guilt a fine art. Each one carries the responsibility for the sins of a hundred generations of ancestors, and every time he opens a history book or a newspaper he is reminded that his god intends to punish him cruelly and personally for those sins.
The Jews, when they wax philosophical, consider themselves bad people who deserve everything that happens to them. They don't have to wait until they die to find out whether their god approves of them.
They know that he does not because of the things he does to them during their mortal lives. Remember, their god is the fire-and-brimstone god of the Old Testament who flooded the world because he didn't like the job he did on it the first time and who turned people into pillars of salt for a short lapse in will power. Not the decaffeinated god of the New Testament who sent The First Hippie with instructions to forgive everybody.
In America today there is a thriving business among psychotherapists and other counselors, who meet with groups of Jews and try to heal them of "Jewish self-loathing."
This has absolutely nothing to do with "the hereafter." Judaism is about the past and the present. Jews say this is why it's so hard for them to have a dialog with Muslims: "All Muslims care about is Heaven!"