The point is that 'digging holes in the ground' isn't inherently more secure than making sure that you can import fuel from other countries.
Both involve a certain amount of risk and uncertainty. Both require preparation and planning, and some degree of subordination of other national interests.
This is perhaps one of the lessons of the Ukraine conflict - Russia is still exporting gas to Germany and Germany is still importing it, despite diplomatic relations between the two countries being at a nadir. It's simply not in either country's interest not to carry on with the commercial relationship.
Both involve a certain amount of risk and uncertainty. Both require preparation and planning, and some degree of subordination of other national interests.
This is perhaps one of the lessons of the Ukraine conflict - Russia is still exporting gas to Germany and Germany is still importing it, despite diplomatic relations between the two countries being at a nadir. It's simply not in either country's interest not to carry on with the commercial relationship.