The Rams definitely have more talent, especially on defense, but the Goff situation clouds everything since a new head coach is going to sink or swim with him. Goff had very, very little talent around him this year and clearly wasn't helped much by the coaches either. But boy was he awful. You can definitely find examples of QBs who were equally bad statistically in their rookie year who went on to have good-to-great careers - Eli, McNabb, Aikman to name a few. But I wouldn't go near that Rams job unless you had a really good feeling about Goff coming out of school and you believed strongly that this year was just a perfect storm of a rookie QB being placed in a bad situation.
I will say that Kroenke is likely a good owner to work for as an NFL coach. He is a guy primarily concerned with the value of his investment who has no inclination to get involved in football decisions. A lot of Arsenal fans (his English soccer club) think he is cheap because he won't spend huge sums like other rich soccer club owners but in the NFL context he is going to spend to the cap, pay his coaches top dollar, etc.
Essentially, if you feel like you can make Goff into an above average NFL starter, you're probably not going to find a better situation than the Rams job. But that is a big if.