Bible Trivia Question for Saturday 06/08/2019

Joseph and Daniel were both powerful statesmen. Early in their careers they both did one common act that started their rise to power. What did they both do?