I think that's debatable. All these new & hyped up languages may give you cheaper developers, but you won't get the ecosystem and functionality Rails provides out of the box.
JS and derivatives (TypeScript, etc) is very popular nowadays and yet on the backend something that's provided out of the box with a monolithic framework like Rails (or Django, or Laravel) will take time to implement manually (often in a bad way).
In the end, you may "save" on salaries by going with another language, but then you'll end up spending twice as much time delivering functionality which would completely offset any savings.