Definitely sounds like there's something weird about your attitude towards lust, sex and women. I'd suggest not trying to solely control your lust but rather focusing on coming to terms with that stuff. Trying to deny a natural and acceptable part of your being is rarely healthy.
Lust
This is satan tempting you. Do not reply.
Shame is Pride’s cloak.
>I used to be a pretty serious Catholic.
Prisons are built with stones of Law, brothels with bricks of Religion.
Lust is natural. Don't try to control it as long as it allows you to live a socially acceptable life. If you molest your coworkers, you might want to stop. If you're just flirting and don't force anything, it's alright.
And no, striving for a high-paying job to be more desirable to women is not wrong in any way. Everyone does that, everyone wants to be desirable. Money is desirable. So is good looks, so we spend time in front of the mirror, we go to the barber, we pay attention to how we dress, etc.
Lust controls our lives, and it's okay. It's normal.
You should control your passions, or your passions will control you. Your will gets interrupted when you let temporal desires drag you around back and forth.
Religious people fast, not because food is bad, but to exercise their ability to have control over even the most base, primal, integral human desires. This gives them strength to resist what they see as moral temptations like deviant sexual desire or to act selfishly to get their way or something. For a nonreligious person you want to control your passions so that you can be in more complete control of your own being, so that you can relegate the satisfaction of these desires to when you want. For instance, if you're working on writing and suddenly you get the urge to fap, you want to be able to resist it and keep going without stopping, fapping to porn and then feeling tired and burnt out.
Sounds like you need to read more Whitman and Nietzsche.
>Was it just to test your self-discipline
You are misguided bro. Self-discipline is something that either develops or atrophies each day. Every time you "test" yourself, you are already increasing your self-discipline.
that's not natural though. Natural would be to prioritize lust over everything else.
Someone didn't read their ethology because animals don't follow the pleasure principle or a literal version of "survival of the fittest" all the time at all. Darwin himself knew this.
1. Start following the Orthodox fast days
2. Use the method the monk in this cartoon does to fight temptation: youtube.com
3. If you give in, then make the next Wednesday or Friday a day of no food whatsoever, and no drink save water. If fall again, then make both the next Wednesday and Friday days of no food at all, just water. Keep following this if you keep falling, eventually you will overcome.
youtube.com
This will definitely work if you apply it.