The text is an idiom that means to accept someone's good intentions even if the outcome or performance is not successful. It does not play on different meanings of a word or similar-sounding words for humorous effect.
Take the will for the deed .