Very soon after you graduate, you will be asked your GPA for your first internship. If you don’t have a good GPA and nothing else to put on your CV, you’re in trouble.
Past that first application, you will never have anyone ask you for your grades during a recruitment process.
People will worry about what your experience is, what your personal projects are, what you care about.
Life is a long journey, and you should worry about building the skills, desire to learn, and build interesting projects.
Studying is about learning interesting things, not about passing tests. Tests will long be gone, and your skills will accompany you.
It is, therefore, time to be passionate about learning new skills, meeting interesting smart people who desire to share their knowledge with you.