Howrse is the game you are looking for.
It is a free browser-based horse breeding and management sim. You start with a small amount of currency, buy or earn your first horses, and build from there through breeding, training, and competitions. The breeding side is the core of it: you pair your horses, manage bloodlines, and work towards better genetic potential over generations.
Progress is deliberately slow. Resources accumulate daily, and much of the game is about planning rather than constant clicking, which suits it if you enjoy the long-term management side.
There are optional paid extras that speed things up or add convenience, but the game is fully playable without spending anything. As with any browser game of this age, check the current state of the site before investing time, since player populations shift.
If you want breeding plus more active riding and competition, other horse sims exist, but Howrse remains the best-known free option built specifically around bloodlines.