One of the ways I save my Bitcoin is by buying during the deep never looking at it again for over some time. I have learned big from that small mistake of the past 2020-2021.
Mind you that you can't hodl Bitcoin forever especially when you intend to use it as an investment (and not a currency), if you invest in the Bitcoin network then you intend to make profit, so if you had actually made profit before you sold, then I'm sorry mate you didn't make any mistake, I don't like it when people regret selling their coins cause the price hiked after they sold, you must understand that the price of Bitcoin is volatile, thus it can either go up or down as the case may be, so you can sell and the price appreciates or plunges. What's most important is the kind of investor you are, long term and short term, if you're short term, then it's great to sell whenever you make profit, as for long term investors, they tend to hodl for a longer time, but whichever you are, as long as you're an Investor, the goal is to make profit, and if you did, then it is what it is, and I don't see any mistake being made.