First, it was actually 640k"No one will ever need more than 64k of RAM."
Note: When Gates said that, he was talking about K of RAM, not gigs.
Second, he never said that. There are no proof and he has several times denied it:"I've said some stupid things and some wrong things, but not that. No one involved in computers would ever say that a certain amount of memory is enough for all time."