suddenly there’s a higher bid I definitely don’t agree
It's important to remember that bids can be placed any time until the end of the auction. Many buyers bid in the closing seconds, when there isn't time to increase your own bid.
If you would have been willing to pay more, the best approach is to bid the maximum you're willing to pay, then leave it to eBay's automatic bidding system to place bids on your behalf until your maximum is reached. That way, you will either win the auction, or lose fairly to someone who was willing to pay more .