My kids were always doing group projects and hated them for the same reason. I told them it is a good learning experience for working in the real world. Except in most situations in the real world your boss or client will figure out that you are doing most of the work - and you’ll get recognized for it.
I did a few group projects in school, but not too many. Except for lab courses where we always had at least one partner.
“your boss or client will figure out that you are doing most of the work - and you’ll get recognized for it”.
My Dad said, “At your job, make yourself ‘indispensable’”.