Languages you must know #1 (assembler)
Assembler teaches you about machine architecture, including memory, caches, registers, pipelines, paging, micro-operations, program status words, privilege levels, virtual hardware, hardware management co-processors, "trusted" boot routines, GPU/CPU/FPGA co-processing.
You learn all the fundamental programming ideas: sequencing, conditionals, branching, subroutines, memory management, bit/byte/word ideas, interrupts, atomic operations, and fencing.
Data structures such as stacks, queues, heaps, trees, strings, character representations, floating point representations, byte packing, and bit-banging.
Issues such as cache timing, instruction scheduling, memory protection, memory-mapped I/O, instruction timing, I/O ports, virtual hardware support, power management, cache coordination.
More things like garbage collection, disk I/O, file system structure, linkers, loaders, libraries.
Operating system ideas like task switching, I/O buffering, networking, time sharing.
Ideas like row-hammering to change protected memory, return-oriented programming to use library code to execute what you can't execute, stack smashing for fun and profit. Micro-timing to break crypto routines.
Best of all: self-modifying code! This idea is either fundamental (if you know what you are doing) or a disaster (if you don't).
Self-modifying code is the basis of learning. Systems learn when they change. The recent AI systems "sort of, kind of, maybe" "learn" by shuffling weights. That's really just glorified pattern recognition (an important idea) but REAL learning requires self-modification.
Everything you ever wanted to know can be learned from assembler.
It's all here. Other languages will teach you new ideas but knowing assembler is fundamental.