As it is written, “Jacob I loved, but Esau I hated.”
Romans 9:13 ESV

Love and hate in this context isn’t about feelings, but about favor. God showed favor to Jacob by giving him a covenant and a permanent inheritance. God showed disfavor to Esau by denying him the covenant and by bringing calamity on the land of Edom and eventually taking it away from him. This statement could just as easily be translated “Jacob I favored, and Esau I disfavored.” See Malachi 1:2-3.