"Fake it till you make it" isn't just a saying; it's truth for most people. Acting like you are confident or acting like you know something, even if you're just winging it, is a step to making that action a reality.
We're all just trying to make our way through life. Without letting others know how much we are fighting ourselves or how much we don't actually know.