Narrated Sa'd bin Abi Waqqas: from the Prophet ﷺ, regarding this Ayah "Say: He has the power to send torment on you from above or from under your feet'. the Prophet ﷺ said "Indeed they shall be, even though they have not occurred as of yet".
The Prophet Muhammad ﷺ taught us this lesson so that we can be aware of our actions and take responsibility for them before it is too late. He wanted us to understand how powerful Allah is, so that we can stay away from sinning and instead focus on doing good deeds in order to gain His pleasure. We must remember this lesson every day so that we can stay on the right path and avoid any form of punishment in this world or hereafter.