How to save all your bookmarks in Firefox so they will not be deleted when the PC is reset?

Al
1

Unfortunately I have to reset my old laptop from time to time for technical reasons, of course, programs like Firefox are also uninstalled, I think it's just a shame that the bookmarks are not saved on the google account.
Surely there's a way to save it, but how?