yes your are missing very fundamental things.
WL_CONNECTED is a constant. a name for the value 3. it can't change.
status is a variable which holds the value set to it. it will not change unless you assign a new value to it. it would make sense to assign current result of WiFi.status() to it or just compare WiFi.status() with WL_CONNECTED