mistake the means for the end. get one's priorities wrong. confuse the order of things. put the cart before the horse. Japanese calls Hon-Matsu-Ten-To.