Just a borrowed example of what I'm referring to.
Pathological lies are:
told frequently and compulsively
told for no apparent reason or gain
continuous told to make the teller appear heroic or the victim
not deterred by guilt or risk of getting found out
Examples of pathological lying:
creating a false history, such as saying they’ve achieved or experienced something they haven’t
claiming to have a life-threatening illness that they don’t have
telling lies to impress others, such as saying they’re related to a famous person