Yes, initializing an SSD will erase all data. So, always backup your data before initializing.