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."
"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."
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.