This makes it sound as if the US only acted to end competition against another Empire. Japan invaded numerous territories for access to resources and committed horrible atrocities while doing so.
The attack on Pearl Harbour may have been preemptive but the only reason for Japan to fear attack from others was due to actions of the Japanese.
Well, that might well have been the case. While World War Ⅱ did put a stop to some horrible things, I don't know if that was because they were horrible or merely because their perpetrators were a threat. I suspect the latter.
Japanese conduct during the 30s was atrocious. They tried playing by the moral code in earlier wars, the US and other Western powers repeatedly reneged on deals and forced Japan to return any possessions.
I don't think Japanese imperialism can really be defended.
Of course, Japanese imperialism was very much inspired by European imperialism in… well, everything. But that doesn't make it right either, merely just as bad.