Migration from Exchange 2016 to Exchange 2019 or O365?

Is there any real advantage of migrating from Exchange 2016 to Exchange 2019 when the final aim is to move to O365 ? A few years back it would make sense to move to 2019 and then later on to O365. However since the support for Exchange 2016 and 2019 ends in Oct 2025, I 'm thinking for valid significant reasons to move to 2019 and not the cloud.(though cloud would be more easier to manage). If we move directly to cloud from Exchange 2016, we would be wasting time and effort moving to 2019.Anyone has any ideas?