First, you need to get together as a group, outside the session, and decide what game you're playing. Should combat be deadly? Should characters be optimized? You need to agree on that. It's possible to rotate between everyone's favorite activities to an extent, but only if the fundamentals are clear. It sounds like some of the other PC's, in particular, don't want to dieenjoy near-death experiences, and that's okay. Remember, you're there to have fun, and it's not fun unless it's fun for everyone.
NextAn analogy: supposing several of you had agreed to get together and play cards every week. Now several of you really like Hearts, assumingand one prefers Go Fish. But every week, one player grabs the deck and announces "OK, let's play some poker. Ante up, everybody." What would you do? Hopefully after a couple times, you'd speak up, right? It sounds like you know you need to say something, but I want to illustrate that combatthis is a major thingdisconnect that (from what I can see) affects the entire group, and the entire group needs to address it together.
Ideally, you could do this not during your regular time, so you're neither saying something that might invalidate what the DM has planned for the next three hours, nor coming off another session where people are frustrated and tired. If you can agree on how challenging itget people together at a different time to say "Hey, let's review our expectations for the game", I'd do so. Or maybe suggest this in lieu of playing one week. If others recognize that there's an issue, they should be generallyon board.
You've indicated that you're not sure what to say, there are several waysso here's some sample dialogue for you: "Joe, it seems like there's a disconnect in what we're each trying to make that happenget out of this game. You said your characters got hit regularlyIt seems you really want encounters to be challenging, buteven deadly. But for me, when I don't seebuild a powerful fighting character, I really want them to feel powerful most of the problem if you survivedtime, able to easily defeat routine enemies and wonstand on an equal footing with strong ones. If it's that" Then let all the other characters didn'tPC's and the DM weigh in.
Be prepared for this to go differently than you expect. Maybe others will say they enjoy these deadly fights where you get out by the skin of your teeth. Maybe one of the casters will say it is frustrating when it seems like a fight between the martial characters and the DM, and they're on the sidelines. The key is to participatelisten to what each person wants, think about defensive formations that would leteven if it doesn't match what you want or what anyone else wants. Remember, there are many different ways to play DND, and none of them attack without too much riskare objectively better or worse - what matters is having fun or not.
AlsoThen say, "Ok, it sounds like your GM is thinking headwe have some things in common [if that's true] and there are some things we see differently. I found this checklist online - would you be willing to headgo through it together and see if there's a style that's at least acceptable for everyone?" (Remember, but D20 combatthis is just as often about rockconsensus -paper do not fill it out separately and then "vote". You want everyone to say "yeah" or at least "we could try that, I guess" for every choice.)
I'm not gonna lie to you -scissors I'm not sure there is a style that all of you will enjoy. Sure your AC is highYou may find that, but what about save vs. Enchantment? What ifhaving discussed and acknowledged the monsters are immunegap, you'll be willing to weapons? There are lots of wayscompromise and try going along with the majority in order to make the game happen. As long as everyone is sincere about being willing to give it a not-so-easy fightgo, that don't require throwing juggernauts atcan work. But you also may find that one or more of you wants something totally different from the rest, and will giveto the other players a chancepoint where it doesn't make sense to shineplay together. (Analogy time again: if you really don't like Monopoly, you're unlikely to sign up for many hours a month of it just for the sake of staying in a board game group.) That's fine, and not playing because you have different tastes in games is not a referendum on anyone personally.
In the end, though, I think some or allThere are questions of you will continueparty balance and encounter design lurking in here. But I've removed specific suggestions about that because the bigger issue really needs to be frustrated unlessresolved first. When you can identifyor your DM come back to us and say "OK, we all want the same thing, but we're not sure how to achieve it" (probably in a single style of play that everyone's cool withnew question), we'll be here.