After greeting Macbeth and Banquo in Macbeth Act 1, Scene 4, King Duncan declares his eldest son, Malcolm, as heir to the throne—bestowing the title Prince of Cumberland.
This announcement directly triggers Macbeth's aside ("Stars, hide your fires..."), as the prophecy of kingship now requires Duncan's removal.