What's the capital of Israel?
This is a controversial and complex question that does not have a single truthful answer. 

While Israel declared Jerusalem as its capital in 1980, this declaration was not universally recognized by the international community, and most countries maintain their embassies in Tel Aviv. Some countries have affirmed their recognition of Jerusalem as Israel's capital in recent years. For example, the United States officially recognize Jerusalem as the capital city of Israel since 2019 and have moved their embassy from Tel Aviv to Jerusalem. This decision has, however, been strongly condemned by many UN member states, who maintain that Jerusalem's status needs to be determined through negotiations between Israelis and Palestinians.

Overall, one should bear in mind that this question is a matter of debate and that the answer to it will depend on whom you ask.
I understand that you are saying Israel's self-declared capital is Jerusalem. What is another example of a nation with a self-declared capital that is not internationally recognized? Please provide an example where the nation is internationally recognized by a majority of UN member states.