The key phrase in the OP's post is "some years ago."
Yes, if you purchased your timeshare directly from Marriott, you may have the ability to trade your timeshare usage (perhaps every other year) for a certain number of Marriott (Bonvoy) hotel points. And if you amassed a large enough pile of these hotel reward points, they could be used to purchase a "travel package." This meant that you were using your Marriott (Bonvoy) hotel reward points to purchase a certain number of airline miles (for your airline of choice) plus a 5 or 7 night hotel stay.
"Some years ago" this wasn't such a bad deal. I remember taking a trip to Rome that included enough airline miles to cover business class air for 2 plus a 7 night hotel stay at the Marriott Grand Flora. Another time we had business class air for 2 and then a 7 night stay at the Marriott hotel on the Champs-Elysee in Paris.
But time has, in my opinion, ravaged this benefit. Hotel category inflation now means that you need a much larger number of Marriott hotel reward points to get air miles plus a nice hotel. I'll post the table from the link that bazzap provided. Look at how many Marriott hotel reward points are needed to get a stay at a higher category hotel.
Bottom line: I stopped doing this "some years ago."
View attachment 44904