Not sure what you mean. Employers would prefer to give
no information about previous employees, specifically "to cover their arse from lawsuits". They confirm employment dates as a courtesy because it can be difficult to get a job without confirmation of previous employment.
Tangentially, it's really abrasive and generally unnecessary to start a comment by calling someone a liar. You can disagree with me here, and that's totally fine. To call me a liar for holding a different opinion than you makes you seem really petty. Arguing about the reason companies will disclose employment history doesn't seem to be the time to break out this sort of accusation.