i went to a job interview felling very confident and cocky. but i got the job anyhow because i had the right skills.
i guess you are right and i appreciate the way you look at this. i did have the right qualifications, so maybe that boosted my confidence.
i think if you are confident in yourself, you can talk yourself into most jobs. you should give yourself more credit and not say you were lucky!