本末 ほんまつ
hommatsu

Noun

1. essence and fringe; beginning and ending; root and branch; means and end

本末 ほんまつ転倒 てんとうするな。
hommatsuo tentō suruna.
Don't put the cart before the horse.