I’m not sure if I understand properly what you mean.
Is it a good idea or a bad idea?
I think the person was saying it’s a good idea to have your own domain because with a gmail.com address, you’re stuck with Gmail. With your own, you can change providers any time by setting up your addresses at the new provider and updating the mail records to point to them. Boom! New email provider, same addresses.