The Ring of Gyges is a hypothetical magic ring mentioned by the philosopher Plato in Book 2 of his Republic (~375 BC). It grants its owner the power to become invisible at will. Through the device of the ring, this section of the Republic considers whether a rational, intelligent person who has no need to fear negative consequences for committing an injustice would nevertheless act justly.
So many ideas trace their roots back to ancient Greece/China. I guess there’s nothing new under the sun.