The trick is choosing complex carbs-whole grains, fruits, vegetables, legumes, and other foods with low glucose impact-meaning, they're less likely to cause those blood-sugar peaks and lows.
It could even cause a coma or death. https://wiki.infinitemc.net/index.php?title=What_Are_Blood_Sugar_Level