Cheating is generally defined as engaging in romantic or sexual activities with someone other than your partner without their knowledge or consent. Whether you are planning to break up with your current partner or not, engaging in romantic or sexual activities with someone else without their knowledge is still considered cheating.
The intention to break up with someone does not justify or excuse infidelity. If you are unhappy in your current relationship and contemplating a breakup, it's essential to address the issues directly with your partner and end the relationship in an honest and respectful manner. Cheating can cause significant emotional harm to your partner and may complicate the process of ending the relationship amicably.
If you are unhappy in your current relationship or feeling tempted to cheat, it's better to have an open and honest conversation with your partner about your feelings and concerns. If you believe the relationship is no longer working, ending it with integrity and respect will allow both you and your partner to move forward and find healthier and more fulfilling paths.