It is discussed whether the abiogenesis was inevitable or accidental from a cosmological perspective. First, the research on the probability of abiogenesis occurring in an inflationary universe by the author is briefly introduced. The inflationary universe contains so many stars that abiogenesis can be expected to occur through random chemical reactions alone, but in that case, we may be the only life forms in the observable universe. Could there be a more efficient, non-trivial RNA synthesis process that would increase the probability of abiogenesis? Inspired by discussions at the special session at the SSOEL meeting in March 2025, I will consider this question.