to be clear, for many years there was a myth that searing does seal in the juices. this myth has been debunked.
i was comparing what yehoshua said regarding cast iron to that myth
but yes, the point of searing is to add flavor through the maillard reaction.
As far as resting, it has been proven to redistribute the juices inside, thus saving juice from the moment you cut into it