Delphi is not dying at all. There is a significant growth in its users around the world.
In 2018 there were roughly six million Delphi developers (I worked at Embarcadero at the time), with a total estimate of ten million Object Pascal developers worldwide when counting all alternative compilers, dialects and indeed – known piracy issues.
Please check the following URL for an explanation:
https://jonlennartaasenden.wordpress.com/2020/03/08/delphi-dying-think-again-tiobe/