General opinion seems to have settled on approx 120mm of travel both ends being about the ideal for “general riding”… 140mm if you favour the downs a bit more, 160+ if you’re happy just to winch your way up for big fun on the way down, 100mm or less if you’re more of an XC racer.
Though of course it’s all down to personal preference. Buy the bike that you like, and get on with, not just cos someone else has recommended it to you. I used to ride bikes with longer than ideal travel for the use they were usually subjected to, but that said, these days I ride a hardtail with a 120mm fork for most things and it’s perfect…