You are confusing correlation with causation. The materialists have only established the former not the latter. This is why the “easy problems” have been solved but the “hard problem” has not. It’s a common mistake that most reductionists tend to make when looking at neural activity in the brain.