If I remember correctly, I think I picked up these ideas largely from the novel “The Razor’s Edge” by W. Somerset Maugham.