No, it's not as simple as that. The probability of self-replicating RNA arising by random assembly of bases is very low. There was a good Nature article [1] published a couple years back that digs through some of the numerical issues. (And a good, more layperson oriented summary as well [2].)
The gist is that a self-replicating RNA sequence would have to be at least 40 nucleotides (and possibly even as long as 100), but the probability of randomly synthesizing a 40-nucleotide long sequence that happens to be self-replicating anywhere in the visible universe over the span of 13 billion years is effectively zero.
To be fair, the probability gets closer to one if you expand your view to include the entire universe and assume that it is many, many orders of magnitude larger than the visible universe. But my take away, at least, is that we are not dealing with a situation where random assembly of RNA is so likely to generate self-replicating sequences that abiogenesis was effectively an inevitability. That was the narrative I was sold in grade school and undergrad, but it appears to be wrong.
There are a good number of free parameters in the journal article that I linked: The fraction of RNA sequences that are self-replicating, the fraction of planets that are habitable for life, the average decay rate of RNA on a habitable planet, etc.
You take can take issue with the empirical estimates for those parameters, but that points to missing pieces in the framework: Was there a chemical process on early earth that stabilized RNA oligomers that no longer exists? Are self-replicating RNA sequences more common than we believe? If so, why haven't we encountered more of them in nature? And so on. In my opinion, these are the truly interesting questions, not whether nucleotides and amino acids can form spontaneously.
[1] https://www.nature.com/articles/s41598-020-58060-0
[2] https://mathscholar.org/2020/05/the-origin-of-life-in-an-inf...