To be sure:
RAID isn’t backup, because RAID is kind of redundancy for your data in disk group attached in single device (e.g. RAID in NAS, or computer) = it’s a combination of multiple (more than 1) disk drives into single disk group with defined behavior/purpose and clearly disk failure tolerance. For an example - With RAID you can get better speed than single disk operation. Or you can get heavy disk failure tolerance for an archiving purposes. There is such large list of purposes.
RAID NEVER protect your data from accidental user mistakes (data deletion, data overwrite, disk format, ...).
RAID never protect you from defined disk failures in the disk group (up to chosen RAID model).
RAID never protect you from security issues (malware, ransomware, stolen disk drive, fire,...).
For such data protection (single or multiple copy of your data for a restore purposes in case of the accident) we have process called Backup.
Then RAID isn’t Backup.