At 17, Joseph had a dream, which hugely annoyed his brothers, but foretold his future