Genesis 40:18-23 GNT

18 Joseph answered, "This is what it means: the three baskets are three days.
19 In three days the king will release you - and have your head cut off! Then he will hang your body on a pole, and the birds will eat your flesh."
20 On his birthday three days later the king gave a banquet for all his officials; he released his wine steward and his chief baker and brought them before his officials.
21 He restored the wine steward to his former position,
22 but he executed the chief baker. It all happened just as Joseph had said.
23 But the wine steward never gave Joseph another thought - he forgot all about him.