The text does not appear to play on different meanings of a word or similar-sounding words. It seems to be a humorous observation or statement implying that a good marriage lasts a long time, possibly longer than something mundane like a box of dental floss, but there is no linguistic ambiguity.
A good marriage outlasts the first box of dental floss .