You're not filtering on honesty, but desperation. The desperate will lie because of the higher stakes for themselves.
If you've ever worked with someone like this, you'd know that it's frustrating and unpleasant mid-to-long-term. Someone breaks prod and refuses to admit it unless given a commit as evidence and a confrontation rather than owning up and fixing/helping fix it? Pretends to know everything then produces terrible work that sucks more hours out of other devs? Nah.
Admitting fault and lack of knowledge is important, and it's different to ignorance.
If you're desparate, actually know your stuff, and still lie, that's on you IMO. If you don't know your stuff and you lie, you probably wouldn't have made it anyway.