Hi anonymous user ,
You understand that is correct, Exchange 2007 and Exchange 2010 can’t coexist with Exchange 2019. If we want migration Exchange 2007 and Exchange 2010 to Exchange 2019, we need to migration to Exchange 2013 first, then uninstall Exchange 2007 and Exchange 2010, then install Exchange 2019 and migration from Exchange 2013 to Exchange 2019. But this process is very complicated. If the data in Exchange 2007 and Exchange 2010 in your lab environment does not need to be retained, then you can directly uninstall Exchange 2007 and Exchange 2010, and then directly install Exchange 2019.
About how to remove the Exchange 2007 from Exchange 2010 organization and how to decommissioning the Exchange 2010, you could refer to these articles provide by Microsoft, The articles describes the uninstallation steps in great detail.
Remove the Last Legacy Exchange Server from an Exchange 2010 Organization
Best practices when decommissioning Exchange 2010
In addition, in order to install Exchange 2019 smoothly, please read these articles before installing Exchange 2019 to understand the requirements of Exchange 2019 on the system and prerequisites.
Exchange 2019 Server system requirements
Exchange 2019 Server prerequisites
----------
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.