Yes, the term "double-edged sword" is often used metaphorically to describe a situation, action, or concept that has both positive and negative consequences or effects. The metaphor suggests that, like a sword with two sharp edges, something can have advantages or benefits on one side, but also carry risks, drawbacks, or unintended consequences on the other side.
Using the phrase "double-edged sword" highlights the duality and complexity of certain circumstances or choices. It implies that one must consider both the potential benefits and the potential drawbacks when evaluating a particular decision or situation.
The metaphorical use of a double-edged sword is not limited to a specific religious or cultural context and can be found in various forms of literature, discourse, and everyday language.