He'd already got his bounty on Whitebeard's ship. Read chapter 967 again. As I said before, he makes it clear if he had defeated Orochi and Kaido and then opened the borders of wano, which allows the world government to come to wano, that he would still have stayed in wano forever to protect it ... even though he knows that he is a wanted person.
I think I'll stop here with you, apparently you just seem to write confused stuff ... which gives me a headache.
Maybe it's easier for you if I write it like this:
When Oden officially returned to wano, he intended to defeat Orochi and Kaido, open the borders of wano and then stay in wano forever to protect it ... even though he knows he is a wanted person ... what you learn from him in chapter 967.