Yes, and the funny thing is that whenever I've walked out of a job I've felt bad at first, (and on a couple of occasions near to tears) because it's such a major thing in anybody's life and you feel lost and lonely, but after a few days the feeling passes and you feel full of beans and ready for a fresh start and realise that walking out was a great decision..
"This is what the Lord says...
Forget the former things;
do not dwell on the past.
See, I am doing a new thing!
Now it springs up; do you not perceive it?
I am making a way in the desert
and streams in the wasteland"
(Isaiah 43:16-19)
My dear brother. The bottom line is that every single one of us must be fully persuaded in our own mind what is acceptable and what is not.
If you were at peace with your decision then IMO that is from the Holy Spirit which guides us into those correct choices.
Rom. 14:14.......
"I know and am persuaded in the Lord Jesus that nothing is unclean in itself, but it is unclean for anyone who thinks it unclean."