The text is an idiomatic expression that means being careful and economical in small matters while being wasteful or extravagant in large ones. It does not play on different meanings of a word or similar-sounding words.
Penny wise , pound foolish .