给定一段文字，请对其中的拼写和语法错误进行修正。
这是一段有错误的英文文本：I wroote a boookk last yeer and it was the bestt seling boookk of the yeearr.
Here is the corrected English text: "I wrote a book last year and it was the best-selling book of the year."