It's a very very hard and deep question that I'm afraid I can't answer you. Because people are as different as fingerprints, all have their memories, their programming (aka upbringing) and experiences, their meanings and opinions and interpretation of the world and how to live in it.
My guess is the greed and corruption that you find all around you, it's impossible today to live a perfectly happy and fair life. However depressive it may sound.
As to friends online, it's very hard to get to know someone's true inner person in real and it's even harder online because liars and fakes are so safe to begin with.