I dunno. If your immediate response is to lie rather than admit that you don't know something, it increases the probability that this is the person's default response when in such a situation. You don't want that person working for you if you depend on them for critical stuff, like many development or similar positions.
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.