Had Lily and James got together in the fifth year itself (when she arguably started fancying him), would the relationship come to an abrupt end, given that he wasn't matured enough to handle her then, and their feelings were not strong enough?
valid question