The issue I find with comments like this is it makes the assumption that
A) Everyone learns easily.
B) Everyone has the ability to spend the amount of time your dd did.
In my case I have 2 children who are incredibly dyslexic (1 has 18 markers for education providers to support for exams and learning on her dyslexia report - that's pretty bad) for her to manage a 7 is likely twice the work that your DD did.
It is NOT always because they lack intelligence, time, or support. Sometimes it is other things that come into play.
I work in a secondary school once a week as a counsellor. I see incredibly intelligent students at times who have had utter SHITE happen to them. (obviously can't devolve but bad stuff for some) sometimes mental health takes over the ability to think as all you can concentrate on is how unsafe you feel when you are in school that is not a productive environment to learn and to bring out the best - again doesn't mean the child isn't working hard it means there is shite happening for them.
A friend of one of my children is a young carer. He walked home from school each day to look after his mum. For university, he chose one that was close to home as " mum can't cope alone" he is a clever lad but due to his life, he has not got the time or support to manage to put the " hard work " in your dd did. He likely works twice as hard as your dd to support mum and ensure home life stays afloat for his younger sibling.
Then there are the students who simply do not get the support at home to work things out and do not get any quiet time at home to study they may want to put in the effort but there is no support network to do that. Again it doesn't mean they are not clever.
For students like those, I have mentioned. Getting a 4 5 6 can be just as much effort and hard work as your dd put in.
Be proud of your dd for certain. However, do not make the assumption that those she was in cohort with who did " less" did not put in the work or effort. You simply do not know their circumstances.
It is ok to celebrate the good enough too.
Right now we are awaiting to find out if one of my very dyslexic dd's have passed her psychology exam she flourished in university where things are not so specific and set up with regards to how it " has to be" Some students flourish later.