While not completely safe from unauthorized tools like Pegasus, the iPhone is still pretty secure.