Incorrect, the fast of Lent is said to commemorate the 40-day fast of Christ. Yet, Jesus never commanded his disciples to commemorate his fast, nor is there any evidence that they did so. The first reliable mention of the 40-day fast before Easter is thought to be in letters of Athanasius, dated 330 C.E.
It is yet another pagan practice with no christian origins.