Do it if you like research and know what you're getting into. It's also okay to not get one.
Consider this as well: if you do a PhD program you will usually be paid and get a tuition waiver and if you drop out after the first 2 years you'll usually pick it up a Master's. If you go straight for a Master's you'll usually have to pay tuition and won't get paid. So if you want, you can give it a shot for 2 years and then do an honest retrospective with the option to bail with no regrets.
Do it if you like research and know what you're getting into. It's also okay to not get one.
Consider this as well: if you do a PhD program you will usually be paid and get a tuition waiver and if you drop out after the first 2 years you'll usually pick it up a Master's. If you go straight for a Master's you'll usually have to pay tuition and won't get paid. So if you want, you can give it a shot for 2 years and then do an honest retrospective with the option to bail with no regrets.