You may need to erase your eSIM if you've transferred the eSIM's phone number to another iPhone or if you're going to sell, trade in, or give away your device.
This guide will not only walk you through how to turn off Find My iPhone, but will also dive into how it works, its advantages and disadvantages, and the contexts in which you might want to disable it.