Happiness is a matter of health in body and soul.
The sentence is meant to say that "happiness is defined by health in body and soul".
Does "is a matter of" mean that? Is it idiomatic to use it in that sense? Or any better phrase to use instead of it?