You're doing it totally wrong
1. The sprites refers to a sf::Texture which no longer exists after the function ends. It won't be able to show anything from this texture. Please read the tutorial, this issue is clearly described.
2. You don't need to create one texture for each area that you want to assign to a sprite. Just use the textureRect property of sf::Sprite, and use a single big texture for all the sprites.