Well have you considered that everything happens in its own time n even if you had signed up for the programming course 5 years earlier, you might not have derived so much value from it because you weren’t ready yet?
During my mum’s dying days, I had made an arrangement to have dinner with some close friends. So I left her at the hospital to fulfill that commitment. In hindsight, I wish I had prioritised my mum instead because that was the last chance that was gifted to me to have a proper real long conversation with her.