Lack of facilities can greatly affect the quality of learning by limiting students' access to resources and hindering their ability to fully engage in educational activities. It can also lead to overcrowding and safety concerns, creating a less conducive environment for learning.