Yes. However attachments are there as a way of adding a bit of extra, likely non-text, information to a note. Joplin is not a document management system.
Install the backup plugin and automatically back it all up to somewhere safe and out of the reach of Joplin-hating aliens.