Answer: None of the above actually
Explanation:
Because nationalism could be twisted to the idea that one's own nation was superior to other nations, and had a right to rule over them Nationalism motivated imperialists to take new colonies before their competitors could.