The text is a proverbial expression that suggests laws are more likely to punish the weak (flies) while allowing the powerful (hornets) to escape punishment. It does not play on different meanings of a word or similar-sounding words for a humorous effect.
Laws catch flies , but lets hornets go free .