I think it's likely that it probably doesn't expire, or has an expiry longer than 3 days; saying that the code expires gives a sense of urgency. I'm sure it helps with conversion, as this is yet another step of the onboarding process.
It also is, quite literally, lying to people. I personally hate when businesses do that.