Dreaming of loneliness doesn't always mean you're isolated in waking life -- it often points to a specific relationship or situation where you don't feel fully seen, even if people are physically around you. The dream is usually asking which connection feels thin right now, not making a statement about your life as a whole.
Good planets, afflicted of the infortunes from the sixth or twelfth houses, signify ill. - William Lilly (1602.-1681.)