Do we know where the term “white” as synonym for “Caucasian” originated?

I made a post here talking about bacon’s rebellion and the virginia slave codes, which were designed to dehumanize black people to prevent a white-black alliance against the aristocracy.

But I have no idea how that would apply to any country other than the US. Like the idea of a monolithic white people who are superior to a monolith of all black people, I don’t know how that idea would apply in Canada for example based on the sociopolitical situation in the US.