an agreement in which someone agrees to do something bad or dishonest, in return for money, success, or powerFrom Faust, who, according to the German legend, sold his soul to the Devil in return for many years of power and pleasure.
See Faustian in the Oxford Advanced Learner's Dictionary