The reassurance from Allah subhana wa Taala to Musa [a.a] and Haroon [a.s] was that:
Allah ﷻ was just observing them
Allah ﷻ was with them listening
Allah ﷻ will forgive them
The magicians stood firm in front of Firawn because:
They knew that Firawn could not harm them
The Iman inside them gave them confidence
They didn't care anymore for Firawn
Ibrahim عليه السلام made a Dua to Allah ﷻ to grant him honor among later generations because:
Ibrahim عليه السلام wanted people to boast about him
He wanted people to remember his legacy
He wanted people to take pride in him
Only people with sound heart will benefit on the Day of Judgement
A sound heart is one that is alive
A sound heart is one that has been operated on
It is a heart that has remembrance of Allah ﷻ
It is a heart that is uncaring
.All Prophets brought one message for people:
To obey Allah and fear the Prophet
To fear Allah and obey the Prophet
To fear the day when everyone will be busy with themselves