righting / writing are similar-sounding terms with different meanings (referred to as homophones). To better understand the differences, see below for definitions, pronunciation guides, and example sentences using each term. 👇
righting: (verb) make reparations or amends for. (verb) put in or restore to an upright position. (verb) regain an upright or proper position.
writing: (noun) the act of creating written works. (noun) the work of a writer; anything expressed in letters of the alphabet (especially when considered from the point of view of style and effect). (noun) (usually plural) the collected work of an author. (noun) letters or symbols that are written or imprinted on a surface to represent the sounds or words of a language. (noun) the activity of putting something in written form.
righting: NA
writing: r·AY·t·ih·ng
(Examples are Wikipedia snippets under the CC ShareAlike 3.0 license. Definitions drawn from WordNet.)