Which sentence best identifies why Hitler wrote mean kampf

The sentence "Hitler wrote Mein Kampf to outline his ideology, promote his political agenda, and justify his actions towards creating a Nazi Germany."