From a Feng Shui perspective, the end of the bed facing the window means giving away, which has a not-so-good connotation. From a practical scientific point of view, if the end of the bed faces a window, you will sleep in bed and be awakened by the light outside the window (whether it is sunlight after dawn, outdoor lights and moonlight at night, as well as the light of thunderstorms and lightning, and this Strong light (which cannot be blocked by many curtains) can make people feel uneasy.