The international studies demonstrate that the students' results are largely linked to the students' socio-economic background. In Sweden, students' socio-economic background has also gained increasing importance for pupils' knowledge results during the last decade. The Swedish result in PIRLS 2021 shows that the differences in results between students with a higher and lower degree of home resources have increased since 2016 and are now higher than in other Nordic countries (NAE, 2023). The Swedish municipalities at the bottom of the list of the percentage of students with passing grades in all subjects in grade 9 have a maximum of 25,000 inhabitants and 75 percent of them fewer than 15,000. Thus, Sweden has problems both regarding knowledge segregation between different socio-economic groups and between municipalities - and quite often these parameters correspond. The purpose of this paper is to explore how a small school and the surrounding community shape and understand the school's role and activities in an outcomes-based governing of the school system. The research questions are: How do the small community form the conditions for school? How do the teachers understand their teaching task?