Rousseau question

How might one correlate Rousseau’s text with European colonialism? In other words, I argued in class that Rousseau’s text should be read not as history, but as propaganda. How do you understand this claim?