I can't seem to find a problem why this is not working. When I go to localhost:3000 I get this error ReferenceError: pixwords is not defined
app.get('/', (req, res) => {
Word.find().then((pixwords) => {
    if(!pixwords) {
     return res.send('No text available');
    }
});
res.render('index.hbs', {pixwords});
});
This is index.hbs:
{{#each pixwords}}
    {{this.text}}
{{/each}}
 
     
    