Why are salesman so blatantly dishonest?

Why are salesman so blatantly dishonest?

I’ve been car shopping for 2-3 weeks for either a BMW X1 or X3. I’ve noticed how predatory car salesman can be. They definitely earned the reputation they have. Yesterday while test driving a 2015 X3 the salesman told me and my girlfriend that the vehicle has had no “major work done” was the term he used. Problem with that is it says literally right on the Carfax that the engine was placed in 2021. Why do salesman feel the need to say such bold face lies especially when they know we can just look at the vehicle history? I used to be a car salesman but I never have operated anywhere close to how these these salesman have in my recent experiences.