In my lecture notes for magnetostatics, my professor has this explanation of why H is not necessarily $0$ that I dont understand.
$$\nabla \times \bf{H} = \bf{J} \\ \bf{J}=0 \Rightarrow \nabla \times \bf{H} = 0 \not\Rightarrow H = 0 \\ \nabla \cdot H \neq 0 $$
"H is only fully defined by its curl and divergence."
I thought that the divergence of B is always zero and since B and H are related by only a constant divergence of H should also be $0$ so I am not sure why the last expression is there. Please help me understand his explanation.