the main point and the details, priorities
本末を転倒するな。
Don’t get your priorities mixed up.
本末を転倒してはいけない。
それでは本末転倒だ。
That would defeat the whole purpose.
あなたの言っていることは本末転倒だと思わないかい?
Don't you think you're putting the cart before the horse?