In 2021, Google rolled out a search algorithm update that includes Core Web Vitals. Core Web Vitals is a set of three metrics that measure the speed and user-friendliness of your website.
If your website scores lower on Core Web Vitals than your competitors, they may be listed before you in search engine results.
So, a fast website is incredibly important to give you the advantage.