How Do I Remove APFS Volumes on Mac Without Losing Your Data

A few years ago, I opened Disk Utility because my Mac kept warning me that the startup disk was almost full.