The idea is from Buddhist philosophy, within one thought , you can be Buddha or Devil. 一念成佛,一念成魔。