NPV formula of the project allows you to take into account not only the amount of future income, but also their "weight", taking into account the time value of money.
NVP is not the only indicator that needs to be taken into account when choosing projects for investment. It may contradict others, and then deeper calculations will be required.