“When a man takes a bride, he must not go out with the army or be liable for any duty. He is free to stay at home for one year, so that he can bring joy to the wife he has married” (24:5).
It isn’t that a man isn’t to work. That’s not the case. He is just saying, don’t go out to war where you are risking your life and being a long-time away from your new wife.
But rather stay at home and be with her. Don’t take on heavy commitments that first year. Lay a good foundation for your marriage. And bring joy to her by the presence of you.