If you first activated your Dorico 5 license on or after Wednesday 27 March 2025, you are eligible for a free grace period update to Dorico 6, and you should have received an email informing you of that.
If you’re not eligible for a grace period update, then yes, you will need to buy an update. You can see the price for your country here: