In many companies, years of accumulated domain logic reside in Delphi applications. Those who replace such systems prematurely often lose not only code, but also proven processes and tacit domain knowledge.
Modernization therefore does not automatically mean a complete replacement. Often the better approach is to carefully analyze business logic, data models and interfaces and then reorganize them step by step. Desktop, web portal, REST servers and service layers can grow in parallel rather than supplanting one another.
The crucial point is the architecture. When responsibilities are cleanly separated, even an established Delphi system can be evolved in a controlled way, extended for Windows, macOS and Linux, and kept running without operational disruption.
There is also frequently the question of new target platforms today. Windows 11 ARM64 or modern Linux deployments should be planned early, rather than being expensively retrofitted later.