mistake the means for the end
Please check it out!
http://j.mp/kanji_4char_mistake
failing to properly evaluate the importance.
putting the cart before the horse.
mistaking the cause for the end.
mistaking the insignificant for the essential.
getting one's priorities backwards.
Japanese calls Hon-Matsu-Ten-To.