I love Anna but it's also a poor school that doesn't have its own library that has at least a few copies of every textbook used by classes + inter-library loans. Can be a nice way to make friends by sharing a physical book to study and do exercises from in a shared workspace.
As an educator I always make a point to give the resources to the students and or give avenues to it that are not paywalled.
Knowledge is the only resource that only becomes greater the more is shared because people share back what they learned. Mind you this only works if people are paying it forward. But often the educator gets more from teaching than the student does.