If your cat does not pee in his litter box, the problem may come from there: some cats no longer go in their litter box as soon as it is a little dirty, so it must be changed very regularly. So you can try to clean it every day and see if there is a difference. In addition, a cat can also ignore its litter if it is next to its water and its food: it is necessary to move the litter as far as possible from its bowl, and put it in a calm and accessible spot.
You can also try to change the type of litter.
Otherwise you can also clean your sink with vinegar (repellent odor for cats) and disinfect your litter with bleach (attractive odor for cats), but be careful with bleach, follow the recommendations because it is a product that can be toxic if misused. Likewise, avoid cleaning your sink with bleach because the cat is more likely to come back to urinate there.
Hope this helps :)