The following six premises are logically incompatible:

Pain is intrinsically bad. Pain is a quale. Qualia are real entities. All real entities are God or created by God. God isn’t intrinsically bad. Nothing created by God is intrinsically bad.

A theist could turn this into an argument against qualia.

I myself am inclined to deny premise (1).