Yes, that's only right and sensible.
Unfortunately, things are moving too slowly here in Germany, but at least one federal state, Schleswig-Holstein, plans to switch to Linux and LibreOffice in the fall.
I'm not aware of any other plans in other federal states or at the national level.
Bavaria, a deeply conservative federal state, even uses Palantir, which is just absurd.