With the word "endless", Paul uses this to emphasize that the genealogies are very long. "Genealogies" refer to the written or verbal record of a person's parents and ancestors
"rather than helping people to understand God's plan to save us, which we learn by faith" or "rather than helping us to do God's work, which we do by faith."