The Kingis Quair ("The King's Book")[1][2] is a fifteenth-century Early Scots poem attributed to James I of Scotland.
James's imprisonment came to an end with his marriage to Joan Beaufort whose name may be punningly referenced in the 'flour jonettis' which the beloved lady wears in her hair (stanza 47).
Once satisfied that his desires are pure, rather than being simple lust, she advises him on the nature of free will, telling him that he must cultivate wisdom if he is to avoid being prey to changing fortunes.
Consumed by doubt, the narrator is reassured by the appearance of a turtle dove carrying a message, signalling the beneficent quality of his vision.
The poem's penultimate verse repeats its first line, 'heigh in the hevynnis figure circulere', so that its structure echoes that of the celestial spheres that it evokes.