Given that oil, regardless of its climate effects or how vast the remaining supply may be, is in fact a limited resource that sooner or later must be replaced. Hydrogen as a fuel obviously has major, major problems related to both initial production and storage/handling. Still, for aviation at least, hydrogen may well prove to be our least bad option.
While on the subject of least bad options: It’s worth mentioning that while batteries are likely our least bad option for moving power into ground vehicles, selecting them as the primary storage dictated by using intermittent wind/solar for primary power production (itself a not-least-bad option we were railroaded into) is not. As the national grid is forced more and more towards the stated goal of 100% intermittent-plus-stored power for all energy needs, meeting the demand for scarce materials essential to build and then maintain the vast battery farms that will be required will be a nightmare, if it is even possible.