As someone whose interviewed hundreds of candidates over the last decade i can tell you any interviewer worth his salt is gonna know if you are telling them what you think they want to hear.
Experienced interviewers can read someone in about 30 seconds. Most questions are a formality, the answers themselves don’t matter.
It sounds like they repaid your honesty with honesty in turn.
You really want to work a job where you feel like lying is the only way to get it? Come on.