Earn is related to Profit. Profit is the opposite of Lost. Lost is a form of Lose. Lose is the opposite of Hold. 
Box is a synonym of Shelter. 
Earn <--RelatedTo--> Profit <--Antonym--> Lost --FormOf--> Lose <--Antonym--> Hold 
Box <--Synonym--> Shelter 