Openstax has free textbooks for various college courses.
Their Elementary Algebra text covers a standard Algebra 1 course, and the Intermediate Algebra course Algebra 2. There's also Prealgebra, Algebra and Trig, College Algebra, Pre-Calc and 3 semesters worth of Calculus to round it off. Only drawback - the are no answer keys; you need a school email address for Instructor access to those.
There's also a High School Section with AP courses: History, Physics, Micro/Macro Econ, and Stats.