>I think you have that backwards, Google kept asking Yahoo to buy them
The early 1998 $1 million offer was prompted by Larry Page and Yahoo rejected him. However, the 2002 offer of $3 billion was from Yahoo and Google rejected them. In 2002, Google was already starting to see profits so they were under no pressure to sell.
You're right:
"In 2002, Yahoo's CEO at the time, Terry Semel, engaged in negotiations to acquire Google, which lasted several months.
The outcome of the negotiation was Semel balking at Google's price tag of $5 billion."
I think you have that backwards, Google kept asking Yahoo to buy them [1]
[1] https://finance.yahoo.com/news/remember-yahoo-turned-down-1-...