You're right!
Energy does not come from vitamins or minerals. Energy comes from carbohydrates, fats and proteins. Some vitamins help the body to use energy, but you get most vitamins naturally by eating healthy foods or by taking a daily multivitamin. Extra vitamins do not help performance and can be dangerous.