Say, "I do not possess for myself any benefit or harm, except what God wills. If I could know the future, then I would have increased my good fortune, and no harm would have come to me. I am but a warner and a bearer of good news to a people who acknowledge."
Translation endnotes
[7:188] None knows the future, including Muhammed (6:50; 7:188; 10:20; 27:65; 81:24). Only God knows the future and this knowledge can be attained only through divine revelations/signs (3:44; 11:49; 12:102; 30:2; 72:27).