1 Timothy 1:4
4 Neither give heed to fables and endless genealogies, which minister questions, rather than godly edifying which is in faith: so do.
Titus 3:9
“But avoid foolish questions, and genealogies, and contentions, and strivings about the law; for they are unprofitable and vain.”