Buddhist teaching focuses on three aspects: sila (morality, but not in Abrahimic sense), samadhi (concentration), and panna (wisdom).
Each of these form a feedback loop into each other. Meditation is just one third of that. Meditation without morality and wisdom can turn you into a psychopath. You cannot understand or study meditation without understanding morality and wisdom.