Don't choose fleeting pleasure for inevitable pain. You are not without a way of escape. Avoid the heartbreak. Use good judgement. Walk away.
"No temptation has come upon you except what is common to humanity. But God is faithful; he will not allow you to be tempted beyond what you are able, but with the temptation he will also provide a way out so that you may be able to bear it."
-1 Corinthians 10:13 CSB
No test or temptation that comes your way is beyond the course of what others have had to face. All you need to remember is that God will never let you down; he’ll never let you be pushed past your limit; he’ll always be there to help you come through it.
-1 Corinthians 10:13 MSG
There hath no temptation taken you but such as is common to man: but God is faithful, who will not suffer you to be tempted above that ye are able; but will with the temptation also make a way to escape, that ye may be able to bear it.
-1 Corinthians 10:13 KJV