The same kind of god who gives free will to his creations but then punishes them for making the wrong choice.

You can do anything you want... as long as you do only what I want.

Otherwise...

Anyway yeah, OP you have just restated a very old question posed by ancient Greek skeptics.

Is God willing to prevent evil, but not able?Then he is not omnipotent.Is he able, but not willing?Then he is malevolent.Is he both able and willing?Then whence cometh evil?Is he neither able nor willing?Then why call him God?