Pharaoh’s daughter’s coming down and seeing a baby crying is mirrored by God’s actions in Exodus’ third chapter.
He kept doing the right thing, but things just got worse and worse for him. Yet there is no indication Joseph ever questioned ...