Why does God allow satan to exist?

Why does God allow satan to exist?