It’s sad and unjust, but the good things of this world are not evenly distributed, whether they are smarts, or wealth, or looks, or clean water. Being smart is the product of so many factors; smart student may have genetics, early childhood opportunities, and maybe even studying a lot to thank for it. (I’ve removed the name of your brilliant fellow student to maintain privacy.)