In the Shrine dialog, the favor points on top do not always match the number of points you can spend on the bottom (here's a screenshot of one of them, I've seen that in other shrines as well)
I find when that happens I have donated almost as much as possible to speed up learning for that lesson, and that is the balance which will have your rock learning as fast as it can.