It's Thomas Deloney's ballad. See Thomas Deloney's Works: Miscellaneous Ballads, or The Works of Thomas Deloney, edited by Francis Oscar Mann (1912), pp. 457-460 [This one seems to have been untitled].