@KovaxYes, Japan broke itself by declaring war. But since the US, Britain and the Netherlands had totally embargoed resources like oil, that Japan did not have and absolutely must have, their options were all bad. To withdraw from China? Unthinkable to the generals in charge. And so, war - which the more worldly of the governing class doubted they could win... but the generals could be refused only at the cost of assassination or a coup.
There was a middle way for Japan: to attack the Commonwealth and the Dutch East Indies, but not the US. The Philippines didn't have the oil, rubber, and rice they needed, so there was no economic reason to attack it. It was a strategic threat in the middle of their system, but really, some bordergore should have been an acceptable price for a neutral US. I suspect that, like many totalitarian régimes, they didn't fully understand the democratic constraints Roosevelt was under. But I think it would have been difficult to get Roosevelt personally and Congress collectively to go to war to protect European colonies in Asia with a conflict looming in the Atlantic. Pearl Harbor was perhaps the greatest grand-strategy mistake in history.