I focus on technologies which have seen a steady growth over the years, like FreeBSD. The benefit is that the knowledge you obtain tends to stay relevant for a long time.
It’s also reassuring that even though FreeBSD ecosystem gets a lot less attention than Linux, it still enables companies like New York Internet to be one of the most reliable hosting companies out there (https://news.netcraft.com/archives/2020/12/02/most-reliable-...).