As many have already told you, people need more than just physical companionship.
I’d add that some people cannot be happy even with a healthful environment because of internal or personal issues. For example, certain cluster B personality disorders or traits cause that people feel empty deep down. They will enjoy things for a while, but often return to feeling incomplete, disconnected, etc.