After reading chapter 323 I don’t think that ugoh was supposed to be “the good one” ( neither sinbad nor david) There is something wrong about him and his reactions,he seems to be looking down on the humans he governs, being very patronizing , i think the author did this on purpose (i could be wrong tho) . The light motif reminds me to the seven seas alliance against Kou , where the seven seas alliance was portrayed as the light and Kou as the dark. And we know the SSA are not saints
Also Sinbads black rucks were his link to david, so ugoh basically created a full depravity sinbad that was overtaken by david. Only his ruck remained so Sinbad is dead, no way he survived that, he might get a new body because david magic ( without eyebrows ofc) but his old one is roasted like ohtaka likes it .
I’m guessing that by the end of the manga, aladdin will come to the conclusion that neither AT nor his dad and ugoh are right and he will change the world for the better.