Summer school for a B

I’m junior in state and I want to attend UofM. The plan is to apply for engineering but I may end up applying for LSA still not sure yet. Anyways after this year my UW GPA will be a 3.88. Is it worth it to go to summer school to get a grade replacement for B which would make my UW gpa a 3.91 or is it a waste of time?