Apologies.
There is no mechanical alignment. There is no Good plane or Evil plane or what have you. The closest thing to Detect Alignment is an effect to detect what god ("Regent") something that is extraplanar is aligned to.
However, you don't get to be a god without traumatizing, abusing, and slaughtering a lot of innocent non-combatants in cold blood. It's literally the centerpiece of the process. There is no other way.
There are no kind, loving, gentle gods. Benevolent and kindly people don't commit atrocities of mass torture and murder, and if they did, they wouldn't be known for their benevolence. For instance, Agon'c is effectively the God of Healing - and they became a god by vivisecting prisoners and conducting horrific medical experiments on them. They are not considered nice, gentle, or kind by anyone, and their priests are recognizable by the way they have had patches of skin flayed off to leave monstrous scars.