The purpose of meditation is truth of Being. Relaxation or peace of mind or help with pain are by-products of learning the art of meditation but not its purpose. Truth is truth of being, truth of what constitutes reality, and how self-made reality is patently untrue.
The excellence of meditation blossoms from the innate, already present Truth of Being. It is this that true meditation aims at, directs one toward, and opens one to.