 Clarkson wrote it after her friend Calamity McEntire, who receives a songwriting credit, gave her the line "pick her weeds and keep the flowers", with additional writing by Aben Eubanks and Jimmy Messer, production by David Kahne, and co-production by Messer and Jason Halbert.