本当に大事なことと、どちらでもいい物事の末端まったんのことをとり違えること。
Putting the cart before the horse, having one's priorities backwards.