The invasion of Ukraine has produced a global energy crisis not seen since the 1970s. Policymakers are struggling to regain energy security and losing sight of the energy transition. This column argues that in the long run, however, policymakers will fail to achieve the former without committing to the latter.