Titus 3:9:

But avoid foolish questions, and genealogies, and contentions, and strivings about the law; for they are unprofitable and vain.

See also:

Objection: Teaching Grace Gives People a License to Sin