Meaning: an act that is not sensible and may have a bad result
Example: Trying to drive through a blizzard is the height of folly.