This is just my 2 cents, but I would not be in the market for a bike at that price point. I have had a few bikes in that range, and in my personal experience they tend to break at a higher rate. In the end the hassle and cost to fix it wasn't worth it to me any longer. In the end I upgraded to a more expensive quality bike and I couldn't ever go back. You don't have to break the bank, and I understand everyone's budget is different, but if you can find a bike that has an MSRP $2k plus on sale or used, you may find it is worth it in the long run. I also recommend a full suspension bike, they are so much more comfortable, they aren't just for 5' drops. Mountain bikes can definitely spiral out of control price wise haha my wife and I are up to six in the garage right now, and it wasn't until we rode a nicer bike that we saw what we were missing and the money became worth it at that point for us. Again, everyone's budget is different and so are your riding needs, but I will always recommend looking into a nice full suspension bike (carbon or aluminum frame).
Current bikes:
2020 Orbea Occam with several upgraded components
2020 Juliana Joplin mostly factory
2022 Juliana Furtado mostly factory
2023 Santa-Cruz Megatower stock for now
Last two are fat bikes for riding in the snow.
2016 Trek Farley 5 basically only the frame is stock
2020/2021 Something I can't remember but its purple for the wife haha but she is currently looking to upgrade that one at the moment.
Most bike shops will allow you to demo their bikes, and if you can buy a used demo bike they are usually at a huge discount as well.
I am not sure if my rambling will help at all haha but regardless of what you get my biggest regret is not getting into biking sooner, I am 40 now and have only been doing it for a few years.