I vote to apply for the job as well. It doesn't hurt to let them know that you are interested. Go for the interview and have your list of questions ready to ask.
As for your xh and his wife...they may be in debt up to their eyeballs. They may be the type of people that credit debt doesn't bother them since they are living paycheck to paycheck. I would not compare myself to them. You have been carrying the load financially for a long time in your household and have managed to keep afloat and yes, spend money for the extras for your daughter in the process. Don't be too hard on yourself. In today's market, it's difficult not to have debt with the way that inflation is going up and up.
Sit quietly, the answers will reveal themselves when you least expect them to. The past is gone, the present is a gift and you need to focus on today, allow the future to reveal itself when it is ready.