I moved into tech because I liked it, not to make money. If I were still in investment banking, I'd be making 7figures a year (and killing my soul in the process). This is not a judgment call; it's a personal choice. There exists good-willed bankers as well as selfish, rent-seeking coders.
Moving money around has not been limited to the 19XXs. It's been around since humans put a face of an important person on some piece of metal (actually earlier, but it lacks the imagery).