"Would rather" is an idiomatic expression. Here is the dictionary definition: —Idiom 9. had / would rather, to prefer that or to: I had much rather we not stay.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.