I heard this on HN, so this hearsay itself, but I believe it’s not that these companies can’t find people that can learn COBOL, it’s that there are people with 30+ years of COBOL experience on their codebase.
The COBOL job security comes from being the only person who knows the codebase, not that somehow people can’t learn COBOL.