“My son, despise not the chastening of the Lord; neither be weary of his correction: For whom the Lord loveth he correcteth; even as a father the son in whom he delighteth.”
When God needs to get a message out to the entire world, He uses prophets. It’s one of the ways people found guidance in ancient times, and it’s one of the ways you can find guidance in our day too.