As an organic chemist who became a software engineer, I’ll say that it’s more than just money (Or curing disease) that drives a lot of people. There’s just something inherently amazing about having the literal world supply of a compound that you made using your own hands (and the laws of nature). And in organic chemistry, there’s a bit of subjectivity and art too - designing compounds, designing a chemical route to synthesize them, etc.