Imagine if the Greeks did this to one another every time the Olympics came up - we probably wouldn't have any Olympics today and the arc of history would likely be very different than it is.
A boycott of the Olympics is China makes no sense for France, who is an important trading partner of China.
To quote the words of the late, great, Bob Bartley, “free markets make free people”.