Talk through one’s hat
Talk through one’s hat
To discuss or speak about a subject without understanding it or having any knowledge or expertise about it.
He claimed to be an expert in finance, but it soon became clear that he was talking through his hat when he couldn't answer basic questions about economics.