The text is a proverb expressing the idea that true friends are known in difficult times, and enemies reveal themselves in adversity. It does not play on different meanings of a word or similar-sounding words for a humorous effect.
A friend cannot be known in prosperity nor an enemy be hidden in adversity .