Figuratively, a double-edged sword is a good thing that is also a bad thing, or a benefit that is also a liability. For example, getting married for the tax benefits might prove to be a double-edged sword if the relationship is not healthy, and speedy internet service might be a doubled-edged sword for someone who is charged for data downloads.