Writers are always looking for inspiration. This may be while writing a scene in a current novel, or trying to come up with a new idea for a book. The real world is full of inspiration. So it's no surprise that having a view to the outside can be inspiring.
If you are lucky, you have the ocean or mountains for a view. But these people are in the minority. Most writers have another house or building out their window. Perhaps even a parking lot.
If your view isn't that great, dress up your window, or the space just outside your window, with pretty draperies, colorful flowers, or crystals to reflect the light.
If you don't have windows and can't have a view, then create one in your imagination. That may be the beach, the middle of an English garden, or a waterfall in the Rockies. Whatever your ideal view is, think of it when you stare out your window (or at the wall) for inspiration.
Of course, having a window isn't always a good thing. It can also be a distraction. After all, you're not writing when you are looking out the window. You may start daydreaming or thinking about what needs to be done around the house. So make sure you bring yourself back to task when you're done looking at the view.