I think Macron is incredibly smart to be investing in STEM in France. There are plenty of very intelligent and successful French people in the US who are very unhappy with the direction of the US, attracting that talent home will serve them well.
The goal isn't to maximize the number. The goal is to lead a good life. The number can help with that, but not if you focus on it to the exclusion of the things that matter.