You read correctly -- the story starts here:
Exodus 2:1 ¶ And there went a man of the house of Levi, and took to wife a daughter of Levi.
Exodus 2:2 And the woman conceived, and bare a son: and when she saw him that he was a goodly child, she hid him three months.
Exodus 2:3 And when she could not longer hide him, she took for him an ark of bulrushes, and daubed it with slime and with pitch, and put the child therein; and she laid it in the flags by the river's brink.
I'll go over this again, to the best of my ability.
When you study the Bible in-depth, you learn that most times A = A; but it can also equal the equivalent of something else; as in A = B.
We call this "types", and the study of 'types' is called 'typology'.
Joseph, for example, is an excellent 'type' of Jesus Christ; being rejected by his own, only to be exalted later.
Moses, too, is a wonderful 'type' of Jesus Christ; leading his people out of [Egypt] and into the Promised Land, which land is itself a 'type' of the Christian life here on earth -- (not Heaven, as some think).
Egypt is a 'type' of the world -- (which I don't want to get into the ramifications, here) -- and Moses turning his back on Egypt as its future ruler, and preferring his own people is a 'type' of Christian not mingling with the philosophies of this world.
I hope this helps.