What type of riding will you be doing? Lots of great suggestions from the members here and all deserve merit as most/all of them would give you the ability to ride most any trail that you might encounter.
I may not have as much riding experience under my belt as others have but the time that I’ve logged in the saddle of my 2021 Giant Trance X E + 2, I’ve garnered a great deal of respect and admiration for this capable alloy all-round trail bike. It’s been ridden all year round, in sub zero temps and on a variety of trails from technical single track to some gnarly down hill mtn runs. The 2022 carbon Trance versions are now available as well as its big brother, the new Giant Reign E+. Fox’s live valve also makes it debut on the Advanced E +0 in the US.
https://www.giant-bicycles.com/us/bikes-trance-x-advanced-eplus-2022
https://www.giant-bicycles.com/us/bikes-reign-eplus-2022
I ride with a couple of buddies, one who owns a Specialized Levo CC and the other a Yeti 160e. Both are great bikes - light, stiff, nimble, very flickable and for those reasons, both guys clearly love their carbon versions. As for me, I’ll likely continue riding my alloy Trance but the new carbon Advanced is really lookin’ pretty sweet!
Here's video footage of us on a couple of rides.