Penny-wise and Pound foolish
Answer
Meaning: Careful in trivial matters but wasteful or extravagant in large matters.
Example:That man eats Ramen noodles daily for dinner but for his dog, he throws a big party. He is indeed penny-wise and pound-foolish.