White noise machines will not fully eradicate noise, But it will assist to provide a more pleasant and continuous background sound. This might assist to drown out the noise from upstairs neighbours' flat. It's worth noting that white noise machines work best for constant or repetitive noises such as traffic, appliances, or HVAC systems. They may be less effective for sudden or high-intensity sounds like loud music or shouting.