Do well has 2 different meanings across 1 category:
Verb
act in one's own or everybody's best interest
"You will do well to arrive on time tomorrow!"
Used other than figuratively or idiomatically: see do, well.