Dear new developer, learn how your language actually works. So you’ll learn how compilers work, how OS’es work, how computers work.
But yes, learning about memory, how databases do indexing, how networks work (https://letterstoanewdeveloper.com/2019/10/11/learn-a-little... covers a bit of this), how assembly works (even at a high level)--these will all be helpful at understanding how systems work together and can break.