If you're diabetic or pre-diabetic, then the glycemic index matters quite a bit. I know someone that pretty much can't eat rice at all (or only very small servings of it) because she's diabetic and it spikes her blood sugar to pretty dangerous levels, 280+ mg/dL from it (she can tell because she has a continuous blood glucose monitor), for example, whereas she doesn't get as bad of a spike with pasta.
And:
"According to the University of Michigan, blood sugar levels of 300 mg/dL or more can be dangerous. They recommend calling a doctor if you have two readings in a row of 300 or more."[1]
[1]: https://www.healthline.com/health/diabetes/how-to-lower-bloo...