Japan joined Germany in World War 2 for strategic reasons. It needed an alliance that could take on the United States, Britain and the Soviet Union. As a result the tripartite agreement was signed between Japan, Italy and Germany thus forming the Axis faction of World War 2.
For further reading check the following articles: