For the phrase “Because these people draw near with their mouths and honor me with their lips, while their hearts are far from me, and their worship of me is a human commandment learned by rote,” see Mark 7:6 and Mark 7:7.
Note that this quote in the New Testament is not taken from the Hebrew Bible but from the Greek Septuagint (LXX) which translates into English as “These people draw near me; they honor me with their lips, while their heart is far from me, and in vain do they worship me, teaching human precepts and teachings.'” (Translation by NETS — for the Greek version see the title’s tooltip)