Punishment and rewarding children for good grades?

Punishment and rewarding children for good grades? Is it right or wrong?

My question is what are your feelings about punishing and rewarding children based on their grades (not based on their behavior). Is it right and good parenting or wrong and shaming the child who does not get good grades.

For example Susie and Jane are sisters Susie gets straight As and is academically successful at school. Jane is struggling and is on the low side academically and does not get good grades. Every report card Susie gets rewarded for her good grades, Jane on the other hand gets grounded for her bad grades.

Punishing and rewarding children for grades right or wrong?